Fix generated run lifecycle profile scope
This commit is contained in:
@@ -319,7 +319,7 @@ func (svc *CoreService) dispatchLifecycleJob(instance domain.ServerInstance, act
|
||||
if err == nil && strings.TrimSpace(binding.ProfileKey) != "" {
|
||||
profileKey = binding.ProfileKey
|
||||
} else {
|
||||
profileKey = instance.Deployment.ProfileKey
|
||||
profileKey = lifecycleDefaultProfileKey(instance, plugin, instance.Deployment.ProfileKey)
|
||||
}
|
||||
actionRef := ""
|
||||
profile, hasProfile := runtimeLifecycleProfileForKey(plugin.RuntimeProfiles, profileKey)
|
||||
|
||||
Reference in New Issue
Block a user