Skip to content

Commit 6c053fb

Browse files
committed
Add PR suggestion fixes
1 parent 282e87b commit 6c053fb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DeviceJobs/GetAzureStorSimpleJob.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class GetAzureStorSimpleJob : StorSimpleCmdletBase
3838
/// </summary>
3939
[Parameter(Mandatory = true, Position = 0, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByDeviceName,
4040
HelpMessage=StorSimpleCmdletHelpMessage.DeviceName)]
41+
[ValidateNotNullOrEmpty]
4142
public string DeviceName { get; set; }
4243

4344

@@ -46,6 +47,7 @@ public class GetAzureStorSimpleJob : StorSimpleCmdletBase
4647
/// </summary>
4748
[Parameter(Mandatory=true, Position = 0, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById,
4849
HelpMessage = StorSimpleCmdletHelpMessage.DeviceJobId)]
50+
[ValidateNotNullOrEmpty]
4951
public string InstanceId { get; set; }
5052

5153
/// <summary>

src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
<value>More jobs are available for your query. To access the next page of your result use -First {0} -Skip {1} in your commandlet</value>
434434
</data>
435435
<data name="DeviceJobsNextPagewithNoFirstMessage" xml:space="preserve">
436-
<value>More jobs are available in the subsequent pages for your query. To access the next page use \"-Skip {0}\" in your commandlet</value>
436+
<value>More jobs are available in the subsequent pages for your query. To access the next page use -Skip {0} in your commandlet</value>
437437
</data>
438438
<data name="DeviceJobsNoMorePagesMessage" xml:space="preserve">
439439
<value>No more jobs are present for your query!</value>
@@ -490,7 +490,7 @@
490490
<value>Volume Container Group \"{0}\" is not eligible for failover due to the reason: {1}</value>
491491
</data>
492492
<data name="SuccessMessageSubmitDeviceJob" xml:space="preserve">
493-
<value>The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -JobId {1} for tracking the job's status</value>
493+
<value>The {0} job is triggered successfully. Please use the command Get-AzureStorSimpleJob -InstanceId {1} for tracking the job's status</value>
494494
</data>
495495
<data name="StartASSBackupCloneJobMessage" xml:space="preserve">
496496
<value>Cloning backup with backupId {0}...</value>

0 commit comments

Comments
 (0)