Skip to content

Commit

Permalink
Minor log fixings (#334)
Browse files Browse the repository at this point in the history
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
  • Loading branch information
gab-arrobo authored Oct 29, 2024
1 parent f754583 commit 8e90d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/init_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ func InitAmfContext(context *context.AMFContext) {
}
context.BindingIPv4 = os.Getenv(sbi.BindingIPv4)
if context.BindingIPv4 != "" {
logger.UtilLog.Info("parsing ServerIPv4 address from ENV Variable")
logger.UtilLog.Infoln("parsing ServerIPv4 address from ENV Variable")
} else {
context.BindingIPv4 = sbi.BindingIPv4
if context.BindingIPv4 == "" {
logger.UtilLog.Warn("error parsing ServerIPv4 address from string. Using the 0.0.0.0 as default")
logger.UtilLog.Warnln("error parsing ServerIPv4 address from string. Using the 0.0.0.0 as default")
context.BindingIPv4 = "0.0.0.0"
}
}
Expand Down

0 comments on commit 8e90d0f

Please sign in to comment.