Skip to content

Commit

Permalink
address golangci-lint error
Browse files Browse the repository at this point in the history
Signed-off-by: heyselbi <[email protected]>
  • Loading branch information
heyselbi committed Oct 11, 2023
1 parent 411b974 commit f2731a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func main() {
for key, value := range etcdSecret.Data {
if key == modelmesh.EtcdSecretKey {
var data map[string]json.RawMessage
err := json.Unmarshal(value, &data)
err = json.Unmarshal(value, &data)
if err != nil {
log.Fatalf("Failed to parse JSON: %v", err)
}
Expand Down

0 comments on commit f2731a6

Please sign in to comment.