Skip to content

Commit 56d9a5d

Browse files
committed
Improve logging
Signed-off-by: Markus Blaschke <[email protected]>
1 parent 9f4d152 commit 56d9a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (m *KubePoolManager) applyNode(node *corev1.Node) {
152152
poolLogger := contextLogger.WithField("pool", poolConfig.Name)
153153
matching, err := poolConfig.IsMatchingNode(node)
154154
if err != nil {
155-
log.Panic(err)
155+
poolLogger.Panic(err)
156156
}
157157

158158
if matching {

0 commit comments

Comments
 (0)