From f2c545ad6dc881e1fe0bfe7466eb7c65a6e487fa Mon Sep 17 00:00:00 2001 From: Moein Nemati Date: Wed, 28 Jun 2023 16:24:35 +0300 Subject: [PATCH] Remove unused error --- plugin/docker.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/docker.go b/plugin/docker.go index 7afb946..cd44a2f 100644 --- a/plugin/docker.go +++ b/plugin/docker.go @@ -1,7 +1,6 @@ package plugin import ( - "errors" "fmt" "os" "strings" @@ -11,8 +10,6 @@ import ( "golang.org/x/sys/execabs" ) -var errInvalidSecret = errors.New("invalid secret") - // helper function to create the docker login command. func commandLogin(login Login) *execabs.Cmd { if login.Email != "" {