Skip to content

Commit

Permalink
Fix typo in log message (#52)
Browse files Browse the repository at this point in the history
Deactivaed -> Deactivated
  • Loading branch information
louisroyer authored Jun 28, 2022
1 parent 8e6aa4b commit de70bf6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions internal/context/datapath.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand All @@ -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)
}
}
}
Expand All @@ -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)
}
}
}
Expand All @@ -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)
}
}
}
Expand Down

0 comments on commit de70bf6

Please sign in to comment.