File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 () {
You can’t perform that action at this time.
0 commit comments