From d09d5ea60f25470e7a55710d5918d5fc96571134 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Tue, 17 Feb 2026 13:52:22 +0100 Subject: [PATCH] remove now unused method --- internal/command/meta.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/internal/command/meta.go b/internal/command/meta.go index 8070ace991..17ba612a68 100644 --- a/internal/command/meta.go +++ b/internal/command/meta.go @@ -575,17 +575,6 @@ func (m *Meta) defaultFlagSet(n string) *flag.FlagSet { return f } -// ignoreRemoteVersionFlagSet add the ignore-remote version flag to suppress -// the error when the configured Terraform version on the remote workspace -// does not match the local Terraform version. -func (m *Meta) ignoreRemoteVersionFlagSet(n string) *flag.FlagSet { - f := m.defaultFlagSet(n) - - f.BoolVar(&m.ignoreRemoteVersion, "ignore-remote-version", false, "continue even if remote and local Terraform versions are incompatible") - - return f -} - // extendedFlagSet adds custom flags that are mostly used by commands // that are used to run an operation like plan or apply. func (m *Meta) extendedFlagSet(n string) *flag.FlagSet {