Skip to content

Commit 270051a

Browse files
authored
Merge pull request #6 from StrongMonkey/fix-rke-detector
Fix extra colon
2 parents 8f971d9 + ad6526e commit 270051a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

providers/rke-windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func IsRKEWindows(ctx context.Context, k8sClient kubernetes.Interface) (bool, er
2626
if _, ok := annos["rke.cattle.io/external-ip"]; ok {
2727
return true, nil
2828
}
29-
if _, ok := annos["rke.cattle.io/internal-ip:"]; ok {
29+
if _, ok := annos["rke.cattle.io/internal-ip"]; ok {
3030
return true, nil
3131
}
3232
return false, nil

providers/rke.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func IsRKE(ctx context.Context, k8sClient kubernetes.Interface) (bool, error) {
3636
if _, ok := annos["rke.cattle.io/external-ip"]; ok {
3737
return true, nil
3838
}
39-
if _, ok := annos["rke.cattle.io/internal-ip:"]; ok {
39+
if _, ok := annos["rke.cattle.io/internal-ip"]; ok {
4040
return true, nil
4141
}
4242
return false, nil

0 commit comments

Comments
 (0)