Skip to content

Commit

Permalink
scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbeach2 committed Dec 31, 2018
1 parent 6f77db9 commit 54e71a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func getRoleCredentials(roleUrl string) (keys Keys, err error) {
// See https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
func ECSKeys() (keys Keys, err error) {
roleUri := os.Getenv("AWS_CONTAINER_CREDENTIALS_RELATIVE_URI")
rolePath := fmt.Sprint("169.254.170.2", roleUri)
rolePath := fmt.Sprint("http://169.254.170.2", roleUri)

return getRoleCredentials(rolePath)
}
Expand Down

0 comments on commit 54e71a1

Please sign in to comment.