Skip to content

Commit

Permalink
cli: fixed parameter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Menet committed Jan 7, 2020
1 parent 298670f commit 07389e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (a *App) verifyCmd(cmd *cobra.Command, args []string) {
}
}

func (a App) rotateCmd(cmd *cobra.Command, args []string) {
func (a *App) rotateCmd(cmd *cobra.Command, args []string) {
cfg, err := NewConfig(a.cfg.configPath)
exitOnErr(err)

Expand Down Expand Up @@ -371,6 +371,6 @@ func (a App) rotateCmd(cmd *cobra.Command, args []string) {
}
}

func (a App) versionCmd(cmd *cobra.Command, args []string) {
func (a *App) versionCmd(cmd *cobra.Command, args []string) {
fmt.Println(versionInfo())
}

0 comments on commit 07389e6

Please sign in to comment.