Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit dfbf42e

Browse files
authored
Merge pull request #30 from GDATASoftwareAG/fix-deref
fix deref
2 parents d88615c + a33a1da commit dfbf42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1alpha1/ionoscloudcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (c *IONOSCloudCluster) LanBy(id *int32) *IONOSLanSpec {
187187
return nil
188188
}
189189
for i := range c.Spec.Lans {
190-
if c.Spec.Lans[i].LanID == id {
190+
if *c.Spec.Lans[i].LanID == *id {
191191
return &c.Spec.Lans[i]
192192
}
193193
}

0 commit comments

Comments
 (0)