Преглед изворни кода

Merge pull request #1240 from docker/not_vpc

clearer error message and fix typo
Guillaume Tardif пре 5 година
родитељ
комит
4620d8b527
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
 }