Instantiate the flag map on set
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>pull/3409/head
parent
e5d83197f6
commit
e0ccc9942c
|
@ -58,7 +58,9 @@ type SetOptions struct {
|
|||
}
|
||||
|
||||
func NewSetOptions() *SetOptions {
|
||||
return &SetOptions{}
|
||||
return &SetOptions{
|
||||
Credential: flag.NewMap(),
|
||||
}
|
||||
}
|
||||
|
||||
func (o *SetOptions) BindFlags(flags *pflag.FlagSet) {
|
||||
|
|
Loading…
Reference in New Issue