Skip to content

Commit f8d82dd

Browse files
committed
fix lint
1 parent b3d79c8 commit f8d82dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nmagent/responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (az *AzResponse) UnmarshalJSON(in []byte) error {
8888

8989
az.HomeAz = rsp.HomeAz
9090

91-
if rsp.APIVersion == 2 {
91+
if rsp.APIVersion == 2 { // nolint:gomnd // ignore magic number 2
9292
az.AppliedFixes = append(az.AppliedFixes, HomeAZFixIPv6)
9393
}
9494

0 commit comments

Comments
 (0)