mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
feat: migrate state path to new schema
This commit is contained in:
@@ -334,7 +334,7 @@ def set_variable(path: str, value: str) -> None:
|
||||
|
||||
|
||||
def get_state_path() -> str:
|
||||
state_path = os.environ.get("WM_STATE_PATH")
|
||||
state_path = os.environ.get("WM_STATE_PATH_NEW")
|
||||
if state_path is None:
|
||||
raise Exception("State path not found")
|
||||
return state_path
|
||||
|
||||
Reference in New Issue
Block a user