Skip to content

Conversation

@openshift-ci openshift-ci bot requested review from jwforres and soltysh September 8, 2021 11:00
@soltysh
Copy link
Contributor

soltysh commented Sep 8, 2021

/assign

// MachineCreation indicates whether the machine has been created or not. If not,
// it should include a reason and message for the failure.
MachineCreation AWSMachineProviderConditionType = "MachineCreation"
AWSMachineCreation AWSMachineProviderConditionType = "MachineCreation"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth sharing some of these in a shared common_consts.go kind of file?

Copy link
Contributor

@JoelSpeed JoelSpeed left a comment

Choose a reason for hiding this comment

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

One quick ask on the new conditions and I think I'm happy with this

Comment on lines 129 to 132
// MachineCreated indicates whether the machine has been created or not. If not,
// it should include a reason and message for the failure.
MachineCreation ConditionType = "MachineCreation"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add a note that this is used on certain platforms and it's preferred to use the other condition type MachineCreated

@JoelSpeed
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 14, 2021
Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

You're missing a lot of godocs and a few other comments

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 21, 2021
@alexander-demicev alexander-demicev force-pushed the providerspecs branch 2 times, most recently from f031a5b to 7f351d5 Compare September 22, 2021 09:30
@alexander-demicev alexander-demicev force-pushed the providerspecs branch 3 times, most recently from 28165b0 to 39d51e9 Compare September 27, 2021 11:50
Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

A nit about missing // +optional tag and you're good to go

// CredentialsSecret is a reference to the secret with Azure credentials.
CredentialsSecret *corev1.SecretReference `json:"credentialsSecret,omitempty"`
// Location is the region to use to create the instance
Location string `json:"location,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

You need // +optional above each optional, iow. each omitempty

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, all should be fixed now

Copy link
Contributor

@soltysh soltysh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 14, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexander-demichev, JoelSpeed, soltysh

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 14, 2021
@openshift-merge-robot openshift-merge-robot merged commit 4436dc8 into openshift:master Oct 14, 2021
@alexander-demicev alexander-demicev deleted the providerspecs branch October 14, 2021 18:39
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants