Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jan 7, 2025
1 parent a1f33e5 commit e7b547b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/plugins/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func NewCmdPlugins() *cobra.Command {
Run: func(command *cobra.Command, args []string) {
err := command.Help()
if err != nil {
log.Logger().Errorf(err.Error())
log.Logger().Error(err.Error())
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Main() *cobra.Command {
Run: func(cmd *cobra.Command, args []string) {
err := cmd.Help()
if err != nil {
log.Logger().Errorf(err.Error())
log.Logger().Error(err.Error())
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func NewCmdVault() *cobra.Command {
Run: func(command *cobra.Command, args []string) {
err := command.Help()
if err != nil {
log.Logger().Errorf(err.Error())
log.Logger().Error(err.Error())
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/vaults/vaultcli/masked_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func MaskedCommandRunner(c *cmdrunner.Command) (string, error) {

result, err := c.RunWithoutRetry()
if result != "" {
log.Logger().Infof(termcolor.ColorStatus(result))
log.Logger().Info(termcolor.ColorStatus(result))
}
return result, err
}
Expand Down

0 comments on commit e7b547b

Please sign in to comment.