Skip to content

Commit

Permalink
Add explicit StorageMode
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Oct 11, 2022
1 parent 6793c9b commit 0b1edae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/docker/echo_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

# Configure outputs for the task - we'll write to a bucket using Sky Storage
output_bucket_name = ''.join(random.choices(string.ascii_lowercase, k=15))
output_storage = sky.Storage(name=output_bucket_name)
output_storage = sky.Storage(name=output_bucket_name,
mode=sky.StorageMode.MOUNT)
echo_app.set_storage_mounts({
'/outputs': output_storage,
})
Expand Down

0 comments on commit 0b1edae

Please sign in to comment.