Skip to content

Commit

Permalink
Fix: Remove unused condition
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed Dec 18, 2023
1 parent 73f0765 commit 07c38b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ func InitAmfContext(context *AMFContext) {
context.LadnPool[ladn.Dnn] = ladn
}
context.NrfUri = config.GetNrfUri()
if configuration.NrfCertPem != "" {
context.NrfCertPem = configuration.NrfCertPem
}
context.NrfCertPem = configuration.NrfCertPem
security := configuration.Security
if security != nil {
context.SecurityAlgorithm.IntegrityOrder = getIntAlgOrder(security.IntegrityOrder)
Expand Down

0 comments on commit 07c38b3

Please sign in to comment.