BC Storage to StorageDict

dev-linux
Ivan Maslov 4 years ago
parent 8e1b98f5bd
commit e4ff1253a6

@ -421,4 +421,11 @@ def Update(inGSettings):
# Remove old structure Scheduler
del inGSettings["Scheduler"]
if lL: lL.warning(f"Backward compatibility (v1.1.20 to v1.2.0): Convert Scheduler to SchedulerDict with new features") # Log about compatibility
# # Convert to Storage to StorageDict
if "Storage" in inGSettings:
# Check if Server is active > convert to ServerDict
inGSettings["StorageDict"] = inGSettings["Storage"]
if lL: lL.warning(
f"Backward compatibility (v1.2.1 to v1.2.2): Convert Storage to StorageDict") # Log about compatibility
# Remove old structure Scheduler
del inGSettings["Storage"]

@ -260,7 +260,7 @@ def __Create__():
}
},
"Logger": logging.getLogger("Orchestrator"),
"Storage": {
"StorageDict": {
"Robot_R01_help": "Robot data storage in orchestrator env",
"Robot_R01": {},
"R01_OrchestratorToRobot": {"Test2": "Test2"}

Loading…
Cancel
Save