Skip to content

Commit 7877be6

Browse files
committed
hardcode supported storage
1 parent 60ab304 commit 7877be6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

v1/providers/shadeform/instancetype.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,13 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform
169169
Type: shadeformInstanceType.Configuration.GpuType,
170170
},
171171
},
172+
SupportedStorage: []v1.Storage{ // TODO: add storage
173+
{
174+
Type: "ssd",
175+
Count: 1,
176+
Size: units.GiB * units.Base2Bytes(shadeformInstanceType.Configuration.StorageInGb),
177+
},
178+
},
172179
BasePrice: basePrice,
173180
IsAvailable: region.Available,
174181
Location: region.Region,

0 commit comments

Comments
 (0)