From 07389e6e669a73c2f38bf652e4e29563c5c7e1eb Mon Sep 17 00:00:00 2001 From: Daniel Menet Date: Tue, 7 Jan 2020 13:51:54 +0100 Subject: [PATCH] cli: fixed parameter issue --- cli.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.go b/cli.go index 545faf1..af1a701 100644 --- a/cli.go +++ b/cli.go @@ -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) @@ -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()) }