mirror of https://github.com/kubernetes/kops.git
Add another eventual consistency error code
This commit is contained in:
parent
5191616cb8
commit
93a3c344ed
|
@ -78,7 +78,7 @@ func (c *AWSCloud) Tags() map[string]string {
|
|||
func isTagsEventualConsistencyError(err error) bool {
|
||||
if awsErr, ok := err.(awserr.Error); ok {
|
||||
switch awsErr.Code() {
|
||||
case "InvalidInstanceID.NotFound", "InvalidRouteTableID.NotFound", "InvalidVpcID.NotFound", "InvalidGroup.NotFound", "InvalidSubnetID.NotFound", "InvalidInternetGatewayID.NotFound":
|
||||
case "InvalidInstanceID.NotFound", "InvalidRouteTableID.NotFound", "InvalidVpcID.NotFound", "InvalidGroup.NotFound", "InvalidSubnetID.NotFound", "InvalidInternetGatewayID.NotFound", "InvalidDhcpOptionsID.NotFound":
|
||||
return true
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue