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
@@ -79,11 +79,11 @@ func (paths BuildConfig) OciBlobCachedir() string {
|
||||
return path.Join(paths.Cachedir, "warewulf")
|
||||
}
|
||||
|
||||
func (paths BuildConfig) SiteOverlaySourcedir() string {
|
||||
func (paths BuildConfig) SiteOverlaydir() string {
|
||||
return paths.WWOverlaydir
|
||||
}
|
||||
|
||||
func (paths BuildConfig) DistributionOverlaySourcedir() string {
|
||||
func (paths BuildConfig) DistributionOverlaydir() string {
|
||||
return path.Join(paths.Datadir, "warewulf", "overlays")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user