Skip to content
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

🌱 Rename Ports fields in status #1938

Merged

Conversation

mdbooth
Copy link
Contributor

@mdbooth mdbooth commented Mar 12, 2024

The json field names were unnecessarily leaking the internal name of a struct.

The json field names were unnecessarily leaking the internal name of a
struct.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 12, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mdbooth

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 12, 2024
Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for kubernetes-sigs-cluster-api-openstack ready!

Name Link
🔨 Latest commit 4afdb80
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/65f04175d36cdf00081bd1bd
😎 Deploy Preview https://deploy-preview-1938--kubernetes-sigs-cluster-api-openstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jichenjc
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 12, 2024
@k8s-ci-robot k8s-ci-robot merged commit 654d714 into kubernetes-sigs:main Mar 12, 2024
9 checks passed
@mdbooth mdbooth deleted the openstackcluster_apicleanup branch March 12, 2024 16:42
Comment on lines 656 to +665

// portsOpts is the list of ports options to create for the machine.
// Ports is the fully resolved list of ports to create for the machine.
// +optional
PortsOpts []PortOpts `json:"portsOpts,omitempty"`
Ports []PortOpts `json:"ports,omitempty"`
}

type DependentMachineResources struct {
// PortsStatus is the status of the ports created for the machine.
// Ports is the status of the ports created for the machine.
// +optional
PortsStatus []PortStatus `json:"portsStatus,omitempty"`
Ports []PortStatus `json:"ports,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like it should have documentation entry added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants