-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev configpod logs #47
Conversation
proto/server/1
Outdated
@@ -0,0 +1,1073 @@ | |||
// SPDX-FileCopyrightText: 2021 Open Networking Foundation <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this file. Looks like temp file.
proto/server/clientEvtHandler.go
Outdated
client.devgroupsConfigClient[configMsg.DevGroupName] = configMsg.DevGroup | ||
} else if configMsg.DevGroupName != "" && configMsg.MsgMethod == configmodels.Delete_op { | ||
lastDevGroup = client.devgroupsConfigClient[configMsg.DevGroupName] | ||
client.clientLog.Infof("Received delete configuration for device Group %v ", configMsg.DevGroupName) | ||
client.clientLog.Debugf("Deleted device Group %v ", configMsg.DevGroupName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Original log content was good. Just changing logging level is good enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
proto/server/clientEvtHandler.go
Outdated
client.slicesConfigClient[configMsg.SliceName] = configMsg.Slice | ||
} else if configMsg.SliceName != "" && configMsg.MsgMethod == configmodels.Delete_op { | ||
client.clientLog.Infof("Received delete configuration for slice %v ", configMsg.SliceName) | ||
client.clientLog.Debugf("Deleted slice %v ", configMsg.SliceName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Original log content is good. Just change logging level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
proto/server/clientEvtHandler.go
Outdated
|
||
if len(sliceConfig.SiteDeviceGroup) == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put these changes in other change request ? Will this cause any impact ?
proto/server/clientEvtHandler.go
Outdated
for _, val := range imsis { | ||
deleteConfigHss(client, val) | ||
} | ||
dimsis := getDeletedImsiList(lastDevGroup, devGroup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid changing this area. There is bug in this code. Keep this pull request only for logs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ab29055
to
e9857c5
Compare
test container |
e9857c5
to
0a69d49
Compare
@@ -670,6 +676,10 @@ func deletedImsis(prev, curr *configmodels.DeviceGroups) (imsis []string) { | |||
return prev.Imsis | |||
} | |||
|
|||
if prev == nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be you need to run format on these files
… into dev-configpod-logs
0a69d49
to
6902f40
Compare
No description provided.