Added check for is_ecs during get_access_keys

We need to presume that if `is_ecs` we are deferring access key loading
This commit is contained in:
Richard Caunt 2017-11-06 11:02:27 +00:00 committed by GitHub
parent 5d54883e2f
commit ccea87ca68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4074,7 +4074,7 @@ static int get_access_keys(void)
}
// access key loading is deferred
if(load_iamrole){
if(load_iamrole || is_ecs){
return EXIT_SUCCESS;
}