This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new b05bc756 [horus] fixed DaemonSet typo (#372)
b05bc756 is described below
commit b05bc7561880e9c644ac519add796a2b47f056f4
Author: mfordjody <[email protected]>
AuthorDate: Mon Sep 23 21:00:34 2024 +0800
[horus] fixed DaemonSet typo (#372)
---
app/horus/core/horuser/action.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/horus/core/horuser/action.go b/app/horus/core/horuser/action.go
index 99282c40..85ea066e 100644
--- a/app/horus/core/horuser/action.go
+++ b/app/horus/core/horuser/action.go
@@ -112,7 +112,7 @@ func (h *Horuser) Drain(nodeName, clusterName string) (err
error) {
for items, pods := range pod.Items {
ds := false
for _, owner := range pods.OwnerReferences {
- if owner.Kind == "Daemonset" {
+ if owner.Kind == "DaemonSet" {
ds = true
break
}