Merge pull request #1013 from solarkennedy/k8s_1.24_compat
Removed deprecated node Clustername
This commit is contained in:
@@ -685,10 +685,9 @@ func (t taintsStringer) String() string {
|
|||||||
|
|
||||||
func addNodeAttributes(ctx context.Context, span trace.Span, n *corev1.Node) context.Context {
|
func addNodeAttributes(ctx context.Context, span trace.Span, n *corev1.Node) context.Context {
|
||||||
return span.WithFields(ctx, log.Fields{
|
return span.WithFields(ctx, log.Fields{
|
||||||
"node.UID": string(n.UID),
|
"node.UID": string(n.UID),
|
||||||
"node.name": n.Name,
|
"node.name": n.Name,
|
||||||
"node.cluster": n.ClusterName,
|
"node.taints": taintsStringer(n.Spec.Taints),
|
||||||
"node.taints": taintsStringer(n.Spec.Taints),
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user