Skip to content

Commit

Permalink
Print deprecation on stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
ejholmes committed Apr 23, 2017
1 parent f4fc6ae commit 1c7677e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func main() {
// Load credentials from configFilePath if it exists, else use regular AWS config
var creds *credentials.Value
if _, err := os.Stat(configFilePath); err == nil {
fmt.Printf("WARNING: using deprecated role file (%s), switch to config file"+
fmt.Fprintf(os.Stderr, "WARNING: using deprecated role file (%s), switch to config file"+
" (https://docs.aws.amazon.com/cli/latest/userguide/cli-roles.html)\n",
configFilePath)
config, err := loadConfig()
Expand Down

0 comments on commit 1c7677e

Please sign in to comment.