mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
remove some leftover methods in the legacy backend
These were left from the initial implementation, but are not used.
This commit is contained in:
parent
2a73331c62
commit
7f453f3341
@ -3,7 +3,6 @@ package legacy
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/hashicorp/terraform/backend"
|
|
||||||
"github.com/hashicorp/terraform/state"
|
"github.com/hashicorp/terraform/state"
|
||||||
"github.com/hashicorp/terraform/state/remote"
|
"github.com/hashicorp/terraform/state/remote"
|
||||||
"github.com/hashicorp/terraform/terraform"
|
"github.com/hashicorp/terraform/terraform"
|
||||||
@ -61,11 +60,3 @@ func (b *Backend) State() (state.State, error) {
|
|||||||
|
|
||||||
return &remote.State{Client: b.client}, nil
|
return &remote.State{Client: b.client}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (b *Backend) States() ([]string, string, error) {
|
|
||||||
return []string{backend.DefaultStateName}, backend.DefaultStateName, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (b *Backend) ChangeState(name string) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user