diff --git a/components/security_apps/orchestration/orchestration_comp.cc b/components/security_apps/orchestration/orchestration_comp.cc index 61e7e20..9b7863b 100755 --- a/components/security_apps/orchestration/orchestration_comp.cc +++ b/components/security_apps/orchestration/orchestration_comp.cc @@ -219,7 +219,7 @@ private: start() { auto update_communication = Singleton::Consume::by(); - auto agent_mode = Singleton::Consume::by()->getOrchestrationMode(); + auto agent_mode = getOrchestrationMode(); auto policy_mgmt_mode = getSettingWithDefault("management", "profileManagedMode"); if (agent_mode == OrchestrationMode::HYBRID || policy_mgmt_mode == "declarative") { update_communication->authenticateAgent();