diff --git a/apply/apply.go b/apply/apply.go index 68254e6..2c42a23 100644 --- a/apply/apply.go +++ b/apply/apply.go @@ -98,7 +98,7 @@ func ensureSecretsForRepo(client drone.Client, manifestSecret *mfst.SecretDef, r if err != nil { fmt.Printf("%s %s\n", Green("✓"), Bold(secret.Name)) } else { - fmt.Printf("%s %s (Error: %s).\n", Red("✕"), Bold(secret.Name), err) + fmt.Printf("%s %s (Error: %s).\n", Red("✕"), Bold(secret.Name), err.Error()) } } diff --git a/main.go b/main.go index c7e8562..0d04b9c 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "os" @@ -10,7 +9,7 @@ import ( "github.com/urfave/cli" ) -const version string = "0.0.1" +const version string = "0.0.2" func main() { app := cli.NewApp()