Skip to content

Commit 1a183ae

Browse files
committed
Unused var
1 parent c2fa6bb commit 1a183ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keystore/cli/cli.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ func NewCreateCmd() *cobra.Command {
153153
}
154154

155155
func NewDeleteCmd() *cobra.Command {
156+
dog := "test"
156157
cmd := cobra.Command{
157158
Use: "delete", Short: "Delete a key",
158159
RunE: func(cmd *cobra.Command, _ []string) error {
@@ -165,7 +166,7 @@ func NewDeleteCmd() *cobra.Command {
165166
if err != nil {
166167
return err
167168
}
168-
confirmYes, _ := cmd.Flags().GetBool("yes")
169+
confirmYes, err := cmd.Flags().GetBool("yes")
169170
if err != nil {
170171
return err
171172
}

0 commit comments

Comments
 (0)