Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
D0m021ng committed Jan 12, 2024
1 parent cac9d04 commit c6c81e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/job/runtime_v2/client/kube_runtime_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ func (n *NodeHandler) addQueue(node *corev1.Node, action pfschema.ActionType, la

func (n *NodeHandler) AddNode(obj interface{}) {
node := obj.(*corev1.Node)
n.addQueue(node, pfschema.Create, getLabels(n.labelKeys, node.GetLabels()))
nodeLabels := getLabels(n.labelKeys, node.GetLabels())
nodeLabels[pfschema.PFNodeCardTypeAnno] = n.getNodeCardType(node)
n.addQueue(node, pfschema.Create, nodeLabels)
}

func (n *NodeHandler) UpdateNode(old, new interface{}) {
Expand Down

0 comments on commit c6c81e0

Please sign in to comment.