Fixed typo for volume access

This commit is contained in:
Thomas Boerger 2017-05-08 23:38:54 +02:00
parent 3c6613a430
commit 9f6448bb64
No known key found for this signature in database
GPG key ID: 5A388F55283960B6

View file

@ -418,7 +418,7 @@ func setupEvilGlobals(c *cli.Context, v store.Store) {
droneserver.Config.Server.Host = c.String("server-host") droneserver.Config.Server.Host = c.String("server-host")
droneserver.Config.Server.Port = c.String("server-addr") droneserver.Config.Server.Port = c.String("server-addr")
droneserver.Config.Pipeline.Networks = c.StringSlice("network") droneserver.Config.Pipeline.Networks = c.StringSlice("network")
droneserver.Config.Pipeline.Volumes = c.StringSlice("volumes") droneserver.Config.Pipeline.Volumes = c.StringSlice("volume")
droneserver.Config.Pipeline.Privileged = c.StringSlice("escalate") droneserver.Config.Pipeline.Privileged = c.StringSlice("escalate")
// droneserver.Config.Server.Open = cli.Bool("open") // droneserver.Config.Server.Open = cli.Bool("open")
// droneserver.Config.Server.Orgs = sliceToMap(cli.StringSlice("orgs")) // droneserver.Config.Server.Orgs = sliceToMap(cli.StringSlice("orgs"))