mirror of
https://github.com/thegeeklab/drone-docker-buildx.git
synced 2024-06-01 16:09:41 +02:00
Remove unused error
This commit is contained in:
parent
5ffed577b2
commit
f2c545ad6d
|
@ -1,7 +1,6 @@
|
||||||
package plugin
|
package plugin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -11,8 +10,6 @@ import (
|
||||||
"golang.org/x/sys/execabs"
|
"golang.org/x/sys/execabs"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errInvalidSecret = errors.New("invalid secret")
|
|
||||||
|
|
||||||
// helper function to create the docker login command.
|
// helper function to create the docker login command.
|
||||||
func commandLogin(login Login) *execabs.Cmd {
|
func commandLogin(login Login) *execabs.Cmd {
|
||||||
if login.Email != "" {
|
if login.Email != "" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user