siderolabs / cluster-api-control-plane-provider-talos

A control plane provider for CAPI + Talos
Mozilla Public License 2.0
64 stars 20 forks source link

fix: nil check replicas ptr before de-referencing #159

Closed Unix4ever closed 1 year ago

Unix4ever commented 1 year ago

This change does a nil check on the int32 ptr specifying the number of replica's inside the TalosControlPlane spec.

Slightly refactored version of https://github.com/siderolabs/cluster-api-control-plane-provider-talos/pull/158

Unix4ever commented 1 year ago

/m