command/push: if a token isn't given, don't set it

pull/1742/head
Mitchell Hashimoto 12 years ago
parent d08815fc49
commit f76116e4a3

@ -73,7 +73,9 @@ func (c *PushCommand) Run(args []string) int {
return 1
}
}
c.client.Token = token
if token != "" {
c.client.Token = token
}
// Build the archiving options
var opts archive.ArchiveOpts

Loading…
Cancel
Save