happy lint

This commit is contained in:
Boshi Lian 2022-07-06 17:27:39 +00:00
parent 93da136a94
commit bc9875c4b5
7 changed files with 39 additions and 27 deletions

View file

@ -18,7 +18,7 @@ func main() {
CreateConfig: func(_ *cli.Context) (*libplugin.SshPiperPluginConfig, error) {
return &libplugin.SshPiperPluginConfig{
KeyboardInteractiveCallback: func(conn libplugin.ConnMetadata, client libplugin.KeyboardInteractiveChallenge) (*libplugin.Upstream, error) {
client("", "lets do math", "", false)
_, _ = client("", "lets do math", "", false)
for {

View file

@ -53,7 +53,7 @@ func main() {
var upstream *libplugin.Upstream
filepath.Walk(userdir, func(path string, info os.FileInfo, err error) error {
_ = filepath.Walk(userdir, func(path string, info os.FileInfo, err error) error {
log.Infof("search public key in path: %v", path)
if err != nil {