mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +00:00
New upstream version 1.3.0
This commit is contained in:
+6
@@ -248,6 +248,8 @@ func ExampleELBV2_CreateLoadBalancer_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeAllocationIdNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeAvailabilityZoneNotSupportedException:
|
||||
fmt.Println(elbv2.ErrCodeAvailabilityZoneNotSupportedException, aerr.Error())
|
||||
case elbv2.ErrCodeOperationNotPermittedException:
|
||||
fmt.Println(elbv2.ErrCodeOperationNotPermittedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -305,6 +307,8 @@ func ExampleELBV2_CreateLoadBalancer_shared01() {
|
||||
fmt.Println(elbv2.ErrCodeAllocationIdNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeAvailabilityZoneNotSupportedException:
|
||||
fmt.Println(elbv2.ErrCodeAvailabilityZoneNotSupportedException, aerr.Error())
|
||||
case elbv2.ErrCodeOperationNotPermittedException:
|
||||
fmt.Println(elbv2.ErrCodeOperationNotPermittedException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
@@ -465,6 +469,8 @@ func ExampleELBV2_DeleteLoadBalancer_shared00() {
|
||||
fmt.Println(elbv2.ErrCodeLoadBalancerNotFoundException, aerr.Error())
|
||||
case elbv2.ErrCodeOperationNotPermittedException:
|
||||
fmt.Println(elbv2.ErrCodeOperationNotPermittedException, aerr.Error())
|
||||
case elbv2.ErrCodeResourceInUseException:
|
||||
fmt.Println(elbv2.ErrCodeResourceInUseException, aerr.Error())
|
||||
default:
|
||||
fmt.Println(aerr.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user