mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
update from review
Reference modules by terraform address Unquote versions
This commit is contained in:
parent
c510473fd2
commit
2ed529f81a
@ -343,7 +343,7 @@ func (s Storage) findRegistryModule(mSource, constraint string) (moduleRecord, e
|
|||||||
return rec, err
|
return rec, err
|
||||||
}
|
}
|
||||||
|
|
||||||
s.output(fmt.Sprintf(" Found version %q of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display()))
|
s.output(fmt.Sprintf(" Found version %s of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display()))
|
||||||
|
|
||||||
}
|
}
|
||||||
return rec, nil
|
return rec, nil
|
||||||
|
@ -5,7 +5,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"path"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
@ -216,7 +215,7 @@ func (t *Tree) getChildren(s *Storage) (map[string]*Tree, error) {
|
|||||||
|
|
||||||
// add the module path to help indicate where modules with relative
|
// add the module path to help indicate where modules with relative
|
||||||
// paths are being loaded from
|
// paths are being loaded from
|
||||||
s.output(fmt.Sprintf("- Module %q", path.Join(modPath...)))
|
s.output(fmt.Sprintf("- module.%s", strings.Join(modPath, ".")))
|
||||||
|
|
||||||
// Lookup the local location of the module.
|
// Lookup the local location of the module.
|
||||||
// dir is the local directory where the module is stored
|
// dir is the local directory where the module is stored
|
||||||
|
Loading…
Reference in New Issue
Block a user