NSM Dashboard initial impl. #10
ci.yaml
on: pull_request
yamllint
/
yamllint
11s
shellcheck
/
shellcheck
15s
golangci-lint
/
golangci-lint
23s
excludeFmtErrorf
/
exclude-fmt-errorf
4s
restrictNSMDeps
/
restrict-nsm-deps
3s
checkgomod
/
checkgomod
16s
gogenerate
/
gogenerate
19s
excludereplace
/
excludereplace
2s
docker-build-and-test
/
push
1m 2s
Annotations
12 errors and 1 warning
checkgomod / checkgomod
Process completed with exit code 1.
|
golangci-lint / golangci-lint:
dashboard-backend.go#L61
Function 'main' has too many statements (58 > 50) (funlen)
|
golangci-lint / golangci-lint:
model.go#L46
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint / golangci-lint:
model.go#L55
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint / golangci-lint:
model.go#L108
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint / golangci-lint:
model.go#L198
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint / golangci-lint:
model.go#L77
cyclomatic complexity 17 of func `parceConnectionsToGraphicalModel` is high (> 15) (gocyclo)
|
golangci-lint / golangci-lint:
dashboard-backend.go#L1
Missed header for check (goheader)
|
golangci-lint / golangci-lint:
model.go#L1
Missed header for check (goheader)
|
golangci-lint / golangci-lint:
dashboard-backend.go#L19
File is not `goimports`-ed with -local github.com/networkservicemesh (goimports)
|
golangci-lint / golangci-lint:
dashboard-backend.go#L108
shadow: declaration of "err" shadows declaration at line 67 (govet)
|
docker-build-and-test / push
Process completed with exit code 1.
|
golangci-lint / golangci-lint:
dashboard-backend.go#L32
exported: exported const RegistryAddr should have comment or be unexported (revive)
|