mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-26 17:01:04 -06:00
backend/atlas: adhere to backend.CLI
This commit is contained in:
parent
942572b574
commit
e6a87cf8de
@ -8,4 +8,5 @@ import (
|
||||
|
||||
func TestImpl(t *testing.T) {
|
||||
var _ backend.Backend = new(Backend)
|
||||
var _ backend.CLI = new(Backend)
|
||||
}
|
||||
|
13
backend/atlas/cli.go
Normal file
13
backend/atlas/cli.go
Normal file
@ -0,0 +1,13 @@
|
||||
package atlas
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/terraform/backend"
|
||||
)
|
||||
|
||||
// backend.CLI impl.
|
||||
func (b *Backend) CLIInit(opts *backend.CLIOpts) error {
|
||||
b.CLI = opts.CLI
|
||||
b.CLIColor = opts.CLIColor
|
||||
b.ContextOpts = opts.ContextOpts
|
||||
return nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user