mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update vendored deps, including AWS SDK, openpgp, ftp, ...
This commit is contained in:
+2
@@ -1167,6 +1167,8 @@ func ExampleKMS_RetireGrant_shared00() {
|
||||
if err != nil {
|
||||
if aerr, ok := err.(awserr.Error); ok {
|
||||
switch aerr.Code() {
|
||||
case kms.ErrCodeInvalidArnException:
|
||||
fmt.Println(kms.ErrCodeInvalidArnException, aerr.Error())
|
||||
case kms.ErrCodeInvalidGrantTokenException:
|
||||
fmt.Println(kms.ErrCodeInvalidGrantTokenException, aerr.Error())
|
||||
case kms.ErrCodeInvalidGrantIdException:
|
||||
|
||||
Reference in New Issue
Block a user