mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-20 04:00:40 -04:00
update remote state s3 file to fix error
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user