We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e5e9d commit 41d57e1Copy full SHA for 41d57e1
ecs-cli/modules/config/config_test.go
@@ -425,7 +425,7 @@ func TestCredentialsWhenUsingEC2InstanceRole(t *testing.T) {
425
}`
426
427
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
428
- if r.URL.Path == "/latest/meta-data/iam/security-credentials" {
+ if r.URL.Path == "/latest/meta-data/iam/security-credentials/" {
429
fmt.Fprintln(w, ec2InstanceRoleName)
430
} else if r.URL.Path == "/latest/meta-data/iam/security-credentials/"+ec2InstanceRoleName {
431
fmt.Fprintf(w, ec2Creds, "2014-12-16T01:51:37Z")
0 commit comments