PlanktoScope / forklift

Composable, reprovisionable, decentralized management of apps & configs on Raspberry Pis and other embedded Linux systems
Apache License 2.0
7 stars 0 forks source link

Make `stage` subcmds correctly handle undefined workspace path #180

Closed ethanjli closed 4 months ago

ethanjli commented 4 months ago

This PR follows up on #179 to fix an issue where stage subcommands would error out if the workspace (via --workspace or FORKLIFT_WORKSPACE) was an empty path, even if the path of the stage store was explicitly set (via --stage-store or FORKLIFT_STAGE_STORE). Now this situation is correctly handled so that the empty workspace path is ignored when the stage store path is non-empty.