Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Fix flyctl reuse app (#674)
Browse files Browse the repository at this point in the history
Closes #667
  • Loading branch information
aminalaee authored May 11, 2023
1 parent 5f3a480 commit 8bf5e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mlem/contrib/flyio/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def _create_app(self, state: FlyioAppState):
) as tempdir:
args = {
"auto-confirm": True,
"reuse-app": True,
"region": self.region
or self.get_env().region
or project_config("", section=FlyioConfig).region,
Expand Down
1 change: 1 addition & 0 deletions tests/contrib/test_flyio.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_flyio_create_app(tmp_path: Path):
workdir=ANY,
kwargs={
"auto-confirm": True,
"reuse-app": True,
"region": "lax",
"no-deploy": True,
"name": "test",
Expand Down

0 comments on commit 8bf5e13

Please sign in to comment.