Add Unmarshal(cfg string) to VendorConfigManager #155
Annotations
10 errors and 1 warning
lint:
config/supermicro.go#L292
commentedOutCode: may want to remove commented-out code (gocritic)
|
lint:
config/supermicro.go#L260
stringintconv: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) (govet)
|
lint:
config/supermicro.go#L266
stringintconv: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) (govet)
|
lint:
config/supermicro.go#L83
SA4004: the surrounding loop is unconditionally terminated (staticcheck)
|
lint:
config/supermicro.go#L69
ST1023: should omit type *[]*supermicroBiosCfgMenu from declaration; it will be inferred from the right-hand side (stylecheck)
|
lint:
config/supermicro.go#L103
return statements should not be cuddled if block has more than two lines (wsl)
|
lint:
config/supermicro.go#L259
only one cuddle assignment allowed before for statement (wsl)
|
lint:
config/supermicro.go#L265
only one cuddle assignment allowed before for statement (wsl)
|
lint:
config/supermicro.go#L293
block should not end with a whitespace (or comment) (wsl)
|
lint:
config/supermicro.go#L324
block should not start with a whitespace (wsl)
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|