mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 13:05:17 +00:00
Instantiate the flag map on set
Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
@@ -58,7 +58,9 @@ type SetOptions struct {
|
||||
}
|
||||
|
||||
func NewSetOptions() *SetOptions {
|
||||
return &SetOptions{}
|
||||
return &SetOptions{
|
||||
Credential: flag.NewMap(),
|
||||
}
|
||||
}
|
||||
|
||||
func (o *SetOptions) BindFlags(flags *pflag.FlagSet) {
|
||||
|
||||
Reference in New Issue
Block a user