update remote state s3 file to fix error
This commit is contained in:
parent
0d575b75c8
commit
883e2848c6
|
@ -79,7 +79,7 @@ func (c *S3Client) Get() (*Payload, error) {
|
|||
})
|
||||
|
||||
if err != nil {
|
||||
if awserr := awserr.Error(err); awserr != nil {
|
||||
if awserr := err.(awserr.Error); awserr != nil {
|
||||
if awserr.Code() == "NoSuchKey" {
|
||||
return nil, nil
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue