This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output version information when called directly
Include version and commit in output when called without the CNI args. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information
Showing
7 changed files
with
21 additions
and
234 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
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,14 @@ | ||
package main | ||
|
||
import "fmt" | ||
|
||
// overwritten at build time | ||
var gitCommit = "unknown" | ||
|
||
const machineVersion = "0.1.0-dev" | ||
|
||
func getVersion() string { | ||
return fmt.Sprintf(`CNI podman-machine plugin | ||
version: %s | ||
commit: %s`, machineVersion, gitCommit) | ||
} |
201 changes: 0 additions & 201 deletions
201
vendor/github.com/containernetworking/plugins/LICENSE
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
vendor/github.com/containernetworking/plugins/pkg/utils/buildversion/buildversion.go
This file was deleted.
Oops, something went wrong.
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