-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
so invoking from inside the CNS Pod works on Windows Signed-off-by: Evan Baker <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package client | ||
|
||
// CNIExecDir is the working directory that the invoker must execute the CNI from | ||
// in order for it to correctly map its state and lock files. | ||
// Does not need to be set on Linux, as absolute paths are correctly used during | ||
// the actual CNI execution. | ||
const CNIExecDir = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package client | ||
|
||
// CNIExecDir is the working directory that the invoker must execute the CNI from | ||
// in order for it to correctly map its state and lock files. | ||
// Only needs to be set on Windows. | ||
const CNIExecDir = "C:\\k" |