Skip to content

Commit e84df8d

Browse files
author
Riya
committed
lint issue resolving
1 parent 9448308 commit e84df8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cns/restserver/internalapi_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func TestReconcileNCStatePrimaryIPChangeShouldFail(t *testing.T) {
9797

9898
// Create dummy CNS state file
9999
stateFile := "/var/lib/azure-network/azure-cns.json"
100-
_ = os.WriteFile(stateFile, []byte("dummy"), 0600)
100+
_ = os.WriteFile(stateFile, []byte("dummy"), 0o600)
101101
defer os.Remove(stateFile)
102102

103103
defer func() {
@@ -1723,7 +1723,7 @@ func TestCreateOrUpdateNCInternal_PrimaryCAMismatchShouldPanicAndDeleteStateFile
17231723

17241724
// Step 3: Create dummy CNS state file
17251725
stateFile := "/var/lib/azure-network/azure-cns.json"
1726-
_ = os.WriteFile(stateFile, []byte("dummy"), 0600)
1726+
_ = os.WriteFile(stateFile, []byte("dummy"), 0o600)
17271727
defer os.Remove(stateFile)
17281728

17291729
defer func() {

0 commit comments

Comments
 (0)