remove unused function

This commit is contained in:
Daniel Schmidt 2026-02-18 10:27:52 +01:00
parent 93f4c1b9b4
commit b003de9c1f

View file

@ -817,13 +817,6 @@ func (m *Meta) SetWorkspace(name string) error {
return nil
}
// isAutoVarFile determines if the file ends with .auto.tfvars or .auto.tfvars.json
// TODO: remove here
func isAutoVarFile(path string) bool {
return strings.HasSuffix(path, ".auto.tfvars") ||
strings.HasSuffix(path, ".auto.tfvars.json")
}
// FIXME: as an interim refactoring step, we apply the contents of the state
// arguments directly to the Meta object. Future work would ideally update the
// code paths which use these arguments to be passed them directly for clarity.