Skip to content

Commit 6427477

Browse files
Copilotkeroxp
andcommitted
Fix variable shadowing in audit.go
Co-authored-by: keroxp <927286+keroxp@users.noreply.github.com>
1 parent 70e6fad commit 6427477

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cli/cage/commands/audit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ func Audit(app *cageapp.App, provider cageapp.AuditCmdProvider) *cli.Command {
5454
} else if input.Cluster == "" || input.Service == "" {
5555
return errors.New("either directory argument or both --cluster and --service flags must be provided")
5656
}
57-
command, err := provider(ctx, input)
57+
auditCmd, err := provider(ctx, input)
5858
if err != nil {
5959
return err
6060
}
61-
return command.Run(ctx)
61+
return auditCmd.Run(ctx)
6262
},
6363
}
6464
}

0 commit comments

Comments
 (0)