mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Make backend.DeleteWorkspace accept a context (#782)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
package remote
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/opentofu/opentofu/internal/states/statemgr"
|
||||
)
|
||||
|
||||
@@ -13,7 +15,7 @@ import (
|
||||
type Client interface {
|
||||
Get() (*Payload, error)
|
||||
Put([]byte) error
|
||||
Delete() error
|
||||
Delete(context.Context) error
|
||||
}
|
||||
|
||||
// ClientForcePusher is an optional interface that allows a remote
|
||||
|
||||
Reference in New Issue
Block a user