mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
Make backend.DeleteWorkspace accept a context (#782)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
This commit is contained in:
@@ -112,7 +112,7 @@ type Backend interface {
|
||||
// DeleteWorkspace cannot prevent deleting a state that is in use. It is
|
||||
// the responsibility of the caller to hold a Lock for the state manager
|
||||
// belonging to this workspace before calling this method.
|
||||
DeleteWorkspace(name string, force bool) error
|
||||
DeleteWorkspace(_ context.Context, name string, force bool) error
|
||||
|
||||
// States returns a list of the names of all of the workspaces that exist
|
||||
// in this backend.
|
||||
|
||||
Reference in New Issue
Block a user