Rename and refactor overlay constructor functions
- Reduces redundancy - Adds clarity Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
717241aa18
commit
ac49ecef70
@@ -32,7 +32,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
|
||||
for o := range overlays {
|
||||
name := overlays[o]
|
||||
path, isSite := overlay.OverlaySourceDir(name)
|
||||
path, isSite := overlay.GetOverlay(name)
|
||||
|
||||
if util.IsDir(path) {
|
||||
files := util.FindFiles(path)
|
||||
|
||||
Reference in New Issue
Block a user