Skip to content

Commit

Permalink
correct StateReplaceProviderAction type check
Browse files Browse the repository at this point in the history
This corrects a typo, ensuring that StateReplaceProviderAction
implements StateAction.
  • Loading branch information
mdb committed Aug 23, 2023
1 parent 8b3d1d8 commit 5744dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfmigrate/state_replace_provider_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type StateReplaceProviderAction struct {
destination string
}

var _ StateAction = (*StateMvAction)(nil)
var _ StateAction = (*StateReplaceProviderAction)(nil)

// NewStateReplaceProviderAction returns a new StateReplaceProviderAction instance.
func NewStateReplaceProviderAction(source string, destination string) *StateReplaceProviderAction {
Expand Down

0 comments on commit 5744dc3

Please sign in to comment.