mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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 err != nil {
|
||||||
if awserr := awserr.Error(err); awserr != nil {
|
if awserr := err.(awserr.Error); awserr != nil {
|
||||||
if awserr.Code() == "NoSuchKey" {
|
if awserr.Code() == "NoSuchKey" {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user