-
Notifications
You must be signed in to change notification settings - Fork 4k
Adding cmdlets for managing MachineLearning CommitmentPlans ARM resources #2993
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
Conversation
Hi @ericwill-msft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
Can one of the admins verify this patch? |
|
||
try | ||
{ | ||
$resourceGroupName = Get-ResourceGroupName |
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.
@ericwill-msft it looks like there are some indentation issues with this file
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.
Looks like we're mixing tabs and spaces. Normalizing to all spaces.
|
||
namespace Microsoft.Azure.Commands.MachineLearning | ||
{ | ||
[Cmdlet(VerbsCommon.Move, CommitmentPlansCmdletBase.CommitmentAssociationCommandletSuffix)] |
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.
@ericwill-msft does this cmdlet make changes or have side effects? Consider implementing ShouldProcess
like you do in the cmdlets below
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.
It does have side effects. Adding ShouldProcess
.
protected override void RunCmdlet() | ||
{ | ||
this.ConfirmAction( | ||
this.Force.IsPresent, |
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.
@ericwill-msft can this cmdlet override an existing CommitmentPlan
? If not, I do not believe that Force
is necessary
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 cmdlet does indeed have the ability to overwrite, if used in that way. Will leave Force
in for now.
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, assuming no change required here.
@azuresdkci add to whitelist |
@ericwill-msft This PR is too late for the Ignite release. We will consider it for the next release in November |
@ericwill-msft can you please address the issues raised as well as CI build failures. No activity in last 6 days. We will close this PR if not address early next week. |
@ericwill-msft Hey Eric, the build is failing because you are missing help for the cmdlets that you added |
@ericwill-msft PR is failing due to missing help. We will have to close thsi week if you cannot correct. |
@ericwill-msft please open your PR after you fix the issue or submit a new PR. |
Hi @ericwill-msft, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
@ericwill-msft Hey Eric, only one comment: the LGTM once that is fixed |
Comments
This checklist is used to make sure that common issues in a pull request are covered by the creator. You can find a more complete discussion of PowerShell cmdlet best practices here.
Below in Overall Changes, check off the boxes that apply to your PR. For the categories that you did not check off, you can remove them from this body. Within each of the categories that you did select, make sure that you can check off all of the boxes.
For information on cleaning up the commits in your pull request, click here.
Overall Changes
General
Tests
Cmdlet Signature
VerbsCommon
,VerbsCommunication
,VerbsLifecycle
,VerbsOther
whenever possibleOutputType
attribute if any output is produced; if the cmdlet produces no output, it should implement aPassThrough
parameterShouldProcess
and haveSupportShouldProcess = true
specified in the cmdlet attribute. See a discussion about correctShouldProcess
implementation hereDefaultParameterSetName
in its cmdlet attribute