Improve metadata handling of profiles
Also, improve OS profile handling
This commit is contained in:
@@ -154,6 +154,10 @@ func (lp *LayeredProfile) UnlockForUsage() {
|
||||
|
||||
// LocalProfile returns the local profile associated with this layered profile.
|
||||
func (lp *LayeredProfile) LocalProfile() *Profile {
|
||||
if lp == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
lp.RLock()
|
||||
defer lp.RUnlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user