File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const (
2121 // CNIRuntimePath is the path where CNI state files are stored.
2222 CNIRuntimePath = "/var/run/"
2323 // CNILockPath is the path where CNI lock files are stored.
24- CNILockPath = "/var/lock /azure-vnet/"
24+ CNILockPath = "/var/run /azure-vnet/"
2525 // CNSRuntimePath is the path where CNS state files are stored.
2626 CNSRuntimePath = "/var/run/"
2727 // CNI runtime path on a Kubernetes cluster
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ func TestLockFilePath(t *testing.T) {
231231 lockFileName := store .GetLockFileName ()
232232
233233 if runtime .GOOS == "linux" {
234- if lockFileName != "/var/lock /azure-vnet/" + testLockFileName + ".lock" {
234+ if lockFileName != "/var/run /azure-vnet/" + testLockFileName + ".lock" {
235235 t .Errorf ("Not expected file lock name: %v" , lockFileName )
236236 }
237237 } else {
You can’t perform that action at this time.
0 commit comments