Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-434] Update Release version and Swagger
[ric-plt/e2mgr.git]
/
E2Manager
/
handlers
/
httpmsghandlers
/
set_general_configuration_handler.go
diff --git
a/E2Manager/handlers/httpmsghandlers/set_general_configuration_handler.go
b/E2Manager/handlers/httpmsghandlers/set_general_configuration_handler.go
index
851dab1
..
2b2f074
100644
(file)
--- a/
E2Manager/handlers/httpmsghandlers/set_general_configuration_handler.go
+++ b/
E2Manager/handlers/httpmsghandlers/set_general_configuration_handler.go
@@
-51,9
+51,14
@@
func (h *SetGeneralConfigurationHandler) Handle(request models.Request) (models.
return nil, e2managererrors.NewRnibDbError()
}
return nil, e2managererrors.NewRnibDbError()
}
+ h.logger.Infof("#SetGeneralConfigurationHandler.Handle - got general configuration from rnib - enableRic: %t", existingConfig.EnableRic)
+
if existingConfig.EnableRic != configuration.EnableRic {
existingConfig.EnableRic = configuration.EnableRic
if existingConfig.EnableRic != configuration.EnableRic {
existingConfig.EnableRic = configuration.EnableRic
+
+ h.logger.Infof("#SetGeneralConfigurationHandler.Handle - save general configuration to rnib: %+v", *existingConfig)
+
err := h.rnibDataService.SaveGeneralConfiguration(existingConfig)
if err != nil {
err := h.rnibDataService.SaveGeneralConfiguration(existingConfig)
if err != nil {