-
Notifications
You must be signed in to change notification settings - Fork 50
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
Ensure each imex domain.cliqueId has a unique set of channel numbers #187
Conversation
7001dee
to
52fef8f
Compare
52fef8f
to
4984a7c
Compare
8240169
to
ed0b8d3
Compare
407375d
to
a8ce7ee
Compare
a8ce7ee
to
4ece310
Compare
4ece310
to
904d968
Compare
7187b88
to
833d071
Compare
c9aada2
to
f24c39f
Compare
c035c02
to
9c4abf4
Compare
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
9c4abf4
to
252bb50
Compare
Looking good. I have some ideas to simplify it even further, but let's do them as a follow-up. |
Thanks! |
newDriverResources.Pools[addedDomain] = generateImexChannelPool(addedDomain, ImexChannelLimit) | ||
controller.Update(&newDriverResources) | ||
driverResources = newDriverResources | ||
driverResources := driverResources.DeepCopy() |
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.
this was a bug -- we actually want the following (i.e. no :
because we want to overwrite the original):
driverResources = driverResources.DeepCopy()
It's fixed in my refactoring:
#189
delete(newDriverResources.Pools, removedDomain) | ||
controller.Update(&newDriverResources) | ||
driverResources = newDriverResources | ||
driverResources := driverResources.DeepCopy() |
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.
Likewise here...
No description provided.