Skip to content

Commit b54372e

Browse files
harsh maheshwariammolitor
harsh maheshwari
authored andcommitted
dropping nil value from the declaration
1 parent 4fef734 commit b54372e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pod_models.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func GetService(cluster *fdbv1beta2.FoundationDBCluster, processClass fdbv1beta2
8585
processesPerPod = cluster.GetStorageServersPerPod()
8686
}
8787

88-
var ipFamilies []corev1.IPFamily = nil
88+
var ipFamilies []corev1.IPFamily
8989
if cluster.IsPodIPFamily6() {
9090
ipFamilies = []corev1.IPFamily{corev1.IPv6Protocol}
9191
}

0 commit comments

Comments
 (0)