feat: add spotinfo recommend command — workload-aware instance decision engine
#28
Annotations
20 errors and 1 warning
|
test:
cmd/spotinfo/main.go#L245
string `json` has 2 occurrences, but such constant `outputJSON` already exists (goconst)
|
|
test:
cmd/spotinfo/main.go#L243
string `text` has 2 occurrences, but such constant `outputText` already exists (goconst)
|
|
test:
internal/spot/recommend.go#L25
File is not properly formatted (gci)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L48
File is not properly formatted (gci)
|
|
test:
cmd/spotinfo/main.go#L703
File is not properly formatted (gci)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L176
Error return value of `fmt.Fprintln` is not checked (errcheck)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L132
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L130
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L129
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
test:
cmd/spotinfo/recommend_cmd.go#L84
Error return value of `fmt.Fprintln` is not checked (errcheck)
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Cannot open: File exists
|
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|