-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Subnet Update Consistency #6941
Subnet Update Consistency #6941
Conversation
@@ -60,6 +60,7 @@ func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error { | |||
Name: s(subnetName), | |||
Network: b.LinkToNetwork(), | |||
CIDR: s(sp.CIDR), | |||
DNSServers: make([]*string, 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.
The result of find had compared a nil object to an empty slice.
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.
/approve
/lgtm
/approve cancel can you @drekle fix gofmt things, file pkg/model/openstackmodel/network.go fails in gofmt |
Executing gofmt
43f2250
to
59fb887
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: drekle, zetaab The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The purpose of this PR is to resolve some errors which can be thrown after updating some already deployed subnet objects. Because the expected struct is checked instead of the changes struct an update may fail after resources have already been deployed.
/sig openstack