Skip to content

Commit

Permalink
Merge pull request #34 from CiscoCloud/fix/no-credential-file
Browse files Browse the repository at this point in the history
don't fail when credential file does not exist
  • Loading branch information
ryane committed Feb 22, 2016
2 parents a46ab81 + 9175426 commit 2bc26b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

const Name = "mantl-api"
const Version = "0.1.4"
const Version = "0.1.5"

func main() {
rootCmd := &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion mesos/mesos.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func readSecret(path string) string {
secret = strings.TrimSpace(string(data))
}
} else {
log.Fatalf("Secret file %s does not exist", path)
log.Warnf("Secret file %s does not exist", path)
}
}
return secret
Expand Down

0 comments on commit 2bc26b2

Please sign in to comment.