mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 00:41:27 -06:00
internal/backend/remote-state/oss: fix dropped error (#30352)
This commit is contained in:
parent
8d490aad9f
commit
88c9b90c93
@ -85,6 +85,9 @@ func (b *Backend) Workspaces() ([]string, error) {
|
|||||||
options = append(options, oss.Marker(lastObj))
|
options = append(options, oss.Marker(lastObj))
|
||||||
}
|
}
|
||||||
resp, err = bucket.ListObjects(options...)
|
resp, err = bucket.ListObjects(options...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user