X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fusecases%2Foruclosedlooprecovery%2Fgoversion%2Finternal%2Flinkfailure%2Flinkfailurehandler.go;h=3aecf45cd69941b70277f8908c56aaaa4683fb99;hb=0f6367023720ecc7d7b4b38cbbc4282792172a89;hp=558d0d786436b39a70bf9e1ae20700561e5c5b97;hpb=0af0d6013c831bfea032c34ce85e1dcf28b10855;p=nonrtric.git diff --git a/test/usecases/oruclosedlooprecovery/goversion/internal/linkfailure/linkfailurehandler.go b/test/usecases/oruclosedlooprecovery/goversion/internal/linkfailure/linkfailurehandler.go index 558d0d78..3aecf45c 100644 --- a/test/usecases/oruclosedlooprecovery/goversion/internal/linkfailure/linkfailurehandler.go +++ b/test/usecases/oruclosedlooprecovery/goversion/internal/linkfailure/linkfailurehandler.go @@ -32,10 +32,9 @@ import ( ) type Configuration struct { - InfoCoordAddress string - SDNRAddress string - SDNRUser string - SDNRPassword string + SDNRAddress string + SDNRUser string + SDNRPassword string } const rawSdnrPath = "/rests/data/network-topology:network-topology/topology=topology-netconf/node=[O-DU-ID]/yang-ext:mount/o-ran-sc-du-hello-world:network-function/du-to-ru-connection=[O-RU-ID]" @@ -77,10 +76,10 @@ func (lfh LinkFailureHandler) sendUnlockMessage(oRuId string) { if error := restclient.Put(lfh.config.SDNRAddress+sdnrPath, unlockMessage, lfh.client, lfh.config.SDNRUser, lfh.config.SDNRPassword); error == nil { log.Debugf("Sent unlock message for O-RU: %v to O-DU: %v.", oRuId, oDuId) } else { - log.Warn(error) + log.Warn("Send of unlock message failed due to ", error) } } else { - log.Warn(err) + log.Warn("Send of unlock message failed due to ", err) } }