mirror of https://github.com/docker/cli.git
Add ability to add multiple tags with docker build
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
This commit is contained in:
parent
af6e545164
commit
36030a9a8b
|
@ -85,7 +85,6 @@ func (opts *ListOpts) Delete(key string) {
|
||||||
|
|
||||||
// GetMap returns the content of values in a map in order to avoid
|
// GetMap returns the content of values in a map in order to avoid
|
||||||
// duplicates.
|
// duplicates.
|
||||||
// FIXME: can we remove this?
|
|
||||||
func (opts *ListOpts) GetMap() map[string]struct{} {
|
func (opts *ListOpts) GetMap() map[string]struct{} {
|
||||||
ret := make(map[string]struct{})
|
ret := make(map[string]struct{})
|
||||||
for _, k := range *opts.values {
|
for _, k := range *opts.values {
|
||||||
|
@ -95,7 +94,6 @@ func (opts *ListOpts) GetMap() map[string]struct{} {
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetAll returns the values of slice.
|
// GetAll returns the values of slice.
|
||||||
// FIXME: Can we remove this?
|
|
||||||
func (opts *ListOpts) GetAll() []string {
|
func (opts *ListOpts) GetAll() []string {
|
||||||
return (*opts.values)
|
return (*opts.values)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue