Add volume API/CLI
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: f2934dbacf
Component: cli
This commit is contained in:
committed by
Vincent Demeester
parent
82951125a6
commit
476d2d284b
@ -131,6 +131,10 @@ func (opts *MapOpts) Set(value string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (opts *MapOpts) GetAll() map[string]string {
|
||||
return opts.values
|
||||
}
|
||||
|
||||
func (opts *MapOpts) String() string {
|
||||
return fmt.Sprintf("%v", map[string]string((opts.values)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user