fix linting issues

7 jobs for develop in 33 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Compile
passed #245127
Compile

00:00:14

 
  Analyze
failed #245130
allowed to fail
Extra Lints

00:00:10

passed #245129
GolangCI Lint

00:00:11

failed #245128
allowed to fail
SonarQube

00:00:11

 
  Release
manual #245132
allowed to fail manual
Major Release
passed #245131
manual
Minor Release

00:00:07

manual #245133
allowed to fail manual
Patch Release
 
Name Stage Failure
failed
Extra Lints Analyze
$ eval $(ssh-agent -s)
Agent pid 20
$ echo "$GOBUILDKEY" | tr -d '\r' | ssh-add - > /dev/null
Identity added: (stdin) (go-build-key)
$ git config --global url."git@git.psu.edu:".insteadOf "https://git.psu.edu"
$ golangci-lint run --disable-all --enable=misspell,unconvert,gofmt --tests=false --out-format=tab --deadline=5m
config/config.go:59:29 unconvert unnecessary conversion
cmd/start.go:47 gofmt File is not `gofmt`-ed with `-s`
ERROR: Job failed: command terminated with exit code 1
failed
SonarQube Analyze
	... 7 more
Caused by: java.lang.IllegalStateException: Status returned by url [https://sonarqube.qa.k8s.psu.edu/batch/index] is not valid: [503]
at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(ServerConnection.java:115)
at org.sonarsource.scanner.api.internal.ServerConnection.downloadString(ServerConnection.java:98)
at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(BootstrapIndexDownloader.java:39)
... 10 more
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
ERROR: Job failed: command terminated with exit code 1