fix(sztp): send ssh key when onboarding completed #1153
Annotations
10 errors and 2 warnings
sztp-agent/pkg/secureagent/daemon.go#L249
Error return value of `file.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/daemon.go#L250
Error return value of `response.Body.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/daemon.go#L262
Error return value of `f.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/daemon.go#L293
Error return value of `file.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/daemon.go#L333
Error return value of `file.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/utils.go#L84
Error return value of `res.Body.Close` is not checked (errcheck)
|
sztp-agent/pkg/secureagent/daemon.go#L301
G302: Expect file permissions to be 0600 or less (gosec)
|
sztp-agent/pkg/secureagent/daemon.go#L328
G304: Potential file inclusion via variable (gosec)
|
sztp-agent/pkg/secureagent/daemon.go#L341
G302: Expect file permissions to be 0600 or less (gosec)
|
sztp-agent/pkg/secureagent/utils.go#L30
G304: Potential file inclusion via variable (gosec)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
This job failed
Loading