You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/11/24 12:53:07 UTC

[camel-k] 19/19: fix(lint): put a space between and comment text (gocritic)

This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 7efe4ffbfd82050acf89821846db1137c231d554
Author: Luca Burgazzoli <lb...@gmail.com>
AuthorDate: Tue Nov 23 17:12:52 2021 +0100

    fix(lint): put a space between  and comment text (gocritic)
---
 pkg/util/util.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/util/util.go b/pkg/util/util.go
index b468db4..745ac7c 100644
--- a/pkg/util/util.go
+++ b/pkg/util/util.go
@@ -231,7 +231,7 @@ func CopyFile(src, dst string) (nBytes int64, err error) {
 	}()
 
 	// we need to have group and other to be able to access the directory as the user
-	//in the container may not be the same as the one owning the files
+	// in the container may not be the same as the one owning the files
 	//
 	// #nosec G301
 	err = os.MkdirAll(path.Dir(dst), 0o755)