From de70bf6cffa14eae582373e5010c8695dffb2f8d Mon Sep 17 00:00:00 2001 From: Louis Royer <55180044+louisroyer@users.noreply.github.com> Date: Tue, 28 Jun 2022 06:52:40 +0200 Subject: [PATCH] Fix typo in log message (#52) Deactivaed -> Deactivated --- internal/context/datapath.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/context/datapath.go b/internal/context/datapath.go index 101ecf2d..9a533e2a 100644 --- a/internal/context/datapath.go +++ b/internal/context/datapath.go @@ -163,20 +163,20 @@ func (node *DataPathNode) DeactivateUpLinkTunnel(smContext *SMContext) { smContext.RemovePDRfromPFCPSession(node.UPF.NodeID, pdr) err := node.UPF.RemovePDR(pdr) if err != nil { - logger.CtxLog.Warnln("Deactivaed UpLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated UpLinkTunnel", err) } if far := pdr.FAR; far != nil { err = node.UPF.RemoveFAR(far) if err != nil { - logger.CtxLog.Warnln("Deactivaed UpLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated UpLinkTunnel", err) } bar := far.BAR if bar != nil { err = node.UPF.RemoveBAR(bar) if err != nil { - logger.CtxLog.Warnln("Deactivaed UpLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated UpLinkTunnel", err) } } } @@ -185,7 +185,7 @@ func (node *DataPathNode) DeactivateUpLinkTunnel(smContext *SMContext) { if qer != nil { err = node.UPF.RemoveQER(qer) if err != nil { - logger.CtxLog.Warnln("Deactivaed UpLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated UpLinkTunnel", err) } } } @@ -202,20 +202,20 @@ func (node *DataPathNode) DeactivateDownLinkTunnel(smContext *SMContext) { smContext.RemovePDRfromPFCPSession(node.UPF.NodeID, pdr) err := node.UPF.RemovePDR(pdr) if err != nil { - logger.CtxLog.Warnln("Deactivaed DownLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated DownLinkTunnel", err) } if far := pdr.FAR; far != nil { err = node.UPF.RemoveFAR(far) if err != nil { - logger.CtxLog.Warnln("Deactivaed DownLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated DownLinkTunnel", err) } bar := far.BAR if bar != nil { err = node.UPF.RemoveBAR(bar) if err != nil { - logger.CtxLog.Warnln("Deactivaed DownLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated DownLinkTunnel", err) } } } @@ -224,7 +224,7 @@ func (node *DataPathNode) DeactivateDownLinkTunnel(smContext *SMContext) { if qer != nil { err = node.UPF.RemoveQER(qer) if err != nil { - logger.CtxLog.Warnln("Deactivaed UpLinkTunnel", err) + logger.CtxLog.Warnln("Deactivated UpLinkTunnel", err) } } }