happy lint
This commit is contained in:
parent
93da136a94
commit
bc9875c4b5
7 changed files with 39 additions and 27 deletions
|
|
@ -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 {
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue