Skip to content

Commit ddbd8f3

Browse files
committed
last error
1 parent 6e392ac commit ddbd8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/pkg/dataplane/dataplane.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ func (dp *DataPlane) addPolicies(netPols []*policies.NPMNetworkPolicy) error {
508508
// this should never happen because bootup phase is for windows, but just in case, we don't want to applyDataplaneNow() or else there will be a deadlock on dp.applyInfo
509509
msg := fmt.Sprintf("[DataPlane] [%s] at risk of improperly applying a policy which is removed then readded", contextAddNetPolPrecaution)
510510
klog.Warning(msg)
511-
metrics.SendErrorLogAndMetric(util.DaemonDataplaneID, msg)
511+
metrics.SendErrorLogAndMetric(util.DaemonDataplaneID, "%s", msg)
512512
} else {
513513
// prevent #2977
514514
if err := dp.applyDataPlaneNow(contextAddNetPolPrecaution); err != nil {

0 commit comments

Comments
 (0)