Skip to content

Commit

Permalink
Fix flag types
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Mar 30, 2015
1 parent 5a2b69f commit 3d1a219
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flag_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (s *services) Set(value string) error {
prefix: os.ExpandEnv(splitServiceDef[0]),
url: serviceUrl,
}
options.Services = append(options.Services, serviceDef)
*s = append(*s, serviceDef)
}
return nil
}
Expand Down Expand Up @@ -73,7 +73,7 @@ func (s *configs) Set(value string) error {
template: os.ExpandEnv(splitConfigDef[0]),
output: os.ExpandEnv(splitConfigDef[1]),
}
options.Configs = append(options.Configs, configDef)
*s = append(*s, configDef)
return nil
}

Expand All @@ -88,7 +88,7 @@ func (s *caCerts) String() string {
}

func (s *caCerts) Set(value string) error {
options.CACerts = append(options.CACerts, value)
*s = append(*s, value)
return nil
}

Expand Down

0 comments on commit 3d1a219

Please sign in to comment.