Skip to content

Commit 4496116

Browse files
author
Hakan Kurtulus
authored
OS-9 | Use new cmd pattern and better testing (#5)
1 parent 62341a8 commit 4496116

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/sign.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package cmd
22

33
import (
4+
"fmt"
45
"io/ioutil"
56

67
"github.com/omegion/vault-ssh/internal/controller"
78
"github.com/omegion/vault-ssh/internal/vault"
8-
log "github.com/sirupsen/logrus"
99
"github.com/spf13/cobra"
1010
)
1111

@@ -55,7 +55,8 @@ func Sign() *cobra.Command {
5555
return err
5656
}
5757

58-
log.Infoln(publicKey)
58+
//nolint:forbidigo // make an exception.
59+
fmt.Println(publicKey)
5960

6061
return nil
6162
},

0 commit comments

Comments
 (0)