Skip to content

Commit

Permalink
- Spot instances don't work on GCP if the username has upper case let…
Browse files Browse the repository at this point in the history
…ters #975
  • Loading branch information
peterschmidt85 authored and Sergey Mezentsev committed Mar 13, 2024
1 parent 2d61aaa commit f03c34c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dstack/_internal/core/backends/gcp/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def create_instance(
authorized_keys=authorized_keys,
labels={
"owner": "dstack",
"dstack_project": instance_config.project_name,
"dstack_user": instance_config.user,
"dstack_project": instance_config.project_name.lower(),
"dstack_user": instance_config.user.lower(),
},
tags=[gcp_resources.DSTACK_INSTANCE_TAG],
instance_name=instance_name,
Expand Down

0 comments on commit f03c34c

Please sign in to comment.