Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichSchreiner committed Mar 25, 2024
1 parent e8bc07a commit edc5051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/internal/switcher/sonic/sonic.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func getPortsConfig(filepath string) (map[string]PortInfo, error) {
config := struct {
Ports map[string]PortInfo `json:"PORT"`
}{}
//nolint:musttag
err = json.Unmarshal(byteValue, &config)

return config.Ports, err
Expand Down

0 comments on commit edc5051

Please sign in to comment.