mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: minor cleanup
This commit is contained in:
@@ -55,7 +55,7 @@ func printGet(resp *etcd.Response, format string) {
|
||||
// getCommandFunc executes the "get" command.
|
||||
func getCommandFunc(c *cli.Context, client *etcd.Client) (*etcd.Response, error) {
|
||||
if len(c.Args()) == 0 {
|
||||
return nil, errors.New("Key required")
|
||||
return nil, errors.New("key required")
|
||||
}
|
||||
key := c.Args()[0]
|
||||
sorted := c.Bool("sort")
|
||||
|
||||
Reference in New Issue
Block a user