mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Address code review comments
Add some documentation. Create new util.InitFlags() function to merge and parse in one step.
This commit is contained in:
@@ -66,6 +66,7 @@ func (v *versionValue) String() string {
|
||||
return fmt.Sprintf("%v", bool(*v == VersionTrue))
|
||||
}
|
||||
|
||||
// The type of the flag as requred by the pflag.Value interface
|
||||
func (v *versionValue) Type() string {
|
||||
return "version"
|
||||
}
|
||||
|
Reference in New Issue
Block a user