Skip to content

Commit 5dbf2f6

Browse files
committed
Fix: use state store data only in diagnostic
1 parent 8209b2e commit 5dbf2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func (c *InitCommand) initBackend(ctx context.Context, root *configs.Module, ext
213213
root.StateStore.ProviderAddr,
214214
root.StateStore.Type,
215215
),
216-
Subject: &root.Backend.TypeRange,
216+
Subject: &root.StateStore.TypeRange,
217217
})
218218
return nil, true, diags
219219
}

0 commit comments

Comments
 (0)