Skip to content

Commit

Permalink
fix: Regression of session create-from-template command (#2761) (#2762
Browse files Browse the repository at this point in the history
)

Co-authored-by: Gyubong Lee <[email protected]>
  • Loading branch information
lablup-octodog and jopemachine authored Aug 23, 2024
1 parent 4440343 commit 3b68ae0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/2761.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix regression error of `session create_from_template` command.
4 changes: 3 additions & 1 deletion src/ai/backend/client/cli/session/lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ def create_from_template(
else undefined
)
prepared_mount, prepared_mount_map, _ = (
prepare_mount_arg(mount) if len(mount) > 0 or no_mount else (undefined, undefined)
prepare_mount_arg(mount)
if len(mount) > 0 or no_mount
else (undefined, undefined, undefined)
)
kwargs = {
"name": name,
Expand Down

0 comments on commit 3b68ae0

Please sign in to comment.