Skip to content

Commit 5bd7dca

Browse files
fixing non flex shapes
1 parent f3bc6a9 commit 5bd7dca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster-autoscaler/cloudprovider/oci/common/oci_shape.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func (osf *shapeGetterImpl) GetNodePoolShape(np *oke.NodePool) (*Shape, error) {
114114
// Update the cache based on latest results
115115
for _, s := range resp.Items {
116116
osf.cache[*s.Shape] = &Shape{
117+
Name: shapeName,
117118
CPU: getFloat32(s.Ocpus) * 2, // convert ocpu to vcpu
118119
GPU: getInt(s.Gpus),
119120
MemoryInBytes: getFloat32(s.MemoryInGBs) * 1024 * 1024 * 1024,

0 commit comments

Comments
 (0)