michalvavrik commented on PR #6269: URL: https://github.com/apache/camel-k/pull/6269#issuecomment-3265787337
Sorry I didn't catch the validation failure, I tried to run the validation before but it failed for me: ``` mvavrik@fedora:~/sources/camel-k$ make lint GOBIN=/home/mvavrik/sources/camel-k/bin go install github.com/golangci/golangci-lint/cmd/[email protected] go: downloading github.com/tdakkota/asciicheck v0.4.0 ../../go/pkg/mod/github.com/golangci/[email protected]/pkg/golinters/asciicheck/asciicheck.go:4:2: reading github.com/tdakkota/asciicheck/go.mod at revision v0.4.0: git ls-remote -q origin in /home/mvavrik/go/pkg/mod/cache/vcs/e91413ff76cb95901df8e2d834855d07c617befa58b5014bc6cd6fd1148034dd: exit status 128: /usr/bin/gh auth git-credential get: line 1: /usr/bin/gh: No such file or directory fatal: could not read Username for 'https://github.com': terminal prompts disabled Confirm the import path was entered correctly. If this is a private repository, see https://golang.org/doc/faq#git_https for additional information. make: *** [Makefile:742: golangci-lint] Error 1 ``` I'll rewrite the if-else to the switch statement and look what the GH CI does when running validation so that I can check it prior pushing commit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
