소스 검색

clearer error message and fix typo

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 4 년 전
부모
커밋
2484dfa5b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ecs/sdk.go

+ 1 - 1
ecs/sdk.go

@@ -173,7 +173,7 @@ func (s sdk) GetDefaultVPC(ctx context.Context) (string, error) {
 		return "", err
 	}
 	if len(vpcs.Vpcs) == 0 {
-		return "", fmt.Errorf("account has not default VPC")
+		return "", fmt.Errorf("account has no default VPC. Set VPC to deploy to using 'x-aws-vpc'")
 	}
 	return *vpcs.Vpcs[0].VpcId, nil
 }