Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

* chore(golang): bump golang to 1.26.x
* fix: set correct ipool id in annotation when using sks nodepool & cluster name #136

## 0.34.0

Expand Down
4 changes: 2 additions & 2 deletions exoscale/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ func (l *loadBalancer) EnsureLoadBalancer(
// Find the SKS node pool ID by name
var instancePoolID v3.UUID
for _, pool := range sksCluster.Nodepools {
if strings.EqualFold(pool.Name, sksNodePoolName) {
instancePoolID = pool.ID
if strings.EqualFold(pool.Name, sksNodePoolName) && pool.InstancePool != nil {
instancePoolID = pool.InstancePool.ID
break
}
}
Expand Down
Loading