Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 4620d8b

Browse files
authored
Merge pull request #1240 from docker/not_vpc
clearer error message and fix typo
2 parents 74107bf + 2484dfa commit 4620d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ecs/sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (s sdk) GetDefaultVPC(ctx context.Context) (string, error) {
173173
return "", err
174174
}
175175
if len(vpcs.Vpcs) == 0 {
176-
return "", fmt.Errorf("account has not default VPC")
176+
return "", fmt.Errorf("account has no default VPC. Set VPC to deploy to using 'x-aws-vpc'")
177177
}
178178
return *vpcs.Vpcs[0].VpcId, nil
179179
}

0 commit comments

Comments
 (0)