Skip to content

Commit

Permalink
Ensure to redefine deploy/undeploy ServiceProviders only when DRU is …
Browse files Browse the repository at this point in the history
…activated
  • Loading branch information
gfenoy committed Aug 25, 2023
1 parent 22019c2 commit d7cbb10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zoo-project/zoo-kernel/zoo_service_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -3949,9 +3949,11 @@ runRequest (map ** inputs)
if(getMapFromMaps(m,"lenv","jsonStr")==NULL)
setMapInMaps(m,"lenv","jsonStr",jsonStr0);
invokeBasicCallback(m,eres);
#ifdef DRU_ENABLED
// Fetch infromations from main.cfg again after execution
deployServiceProvider=getMapFromMaps(m,"servicesNamespace","deploy_service_provider");
undeployServiceProvider=getMapFromMaps(m,"servicesNamespace","undeploy_service_provider");
#endif
}
#endif
}else{
Expand Down

0 comments on commit d7cbb10

Please sign in to comment.