Skip to content

Commit b2bf0ce

Browse files
authored
fix: allowedCudaVersions is treated as float without the quotes (#431)
1 parent e58d519 commit b2bf0ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runpod/api/mutations/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def generate_endpoint_mutation(
4747
input_fields.append(f"workersMax: {workers_max}")
4848

4949
if allowed_cuda_versions:
50-
input_fields.append(f"allowedCudaVersions: {allowed_cuda_versions}")
50+
input_fields.append(f'allowedCudaVersions: "{allowed_cuda_versions}"')
5151

5252
if gpu_count is not None:
5353
input_fields.append(f"gpuCount: {gpu_count}")

0 commit comments

Comments
 (0)