func registerWithEtcd(api client.KeysAPI, c *cli.Context) error { _, err := api.Create(context.Background(), c.String("key-register"), "complete") if err != nil { return err } return nil }