Simpler names for overlay methods

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-08-27 22:21:16 -06:00
parent 6fd858899d
commit 66450a7dcd
20 changed files with 72 additions and 75 deletions

View File

@@ -22,12 +22,12 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
} else {
dest = source
}
overlay_, err := overlay.GetOverlay(args[0])
overlay_, err := overlay.Get(args[0])
if err != nil {
return err
}
if !overlay_.IsSiteOverlay() {
overlay_, err = overlay_.CloneSiteOverlay()
overlay_, err = overlay_.CloneToSite()
if err != nil {
return err
}