File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/ServiceManagement/Automation/Commands.Automation Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ public class GetAzureAutomationRunbook : AzureAutomationBaseCmdlet
42
42
protected override void AutomationExecuteCmdlet ( )
43
43
{
44
44
IEnumerable < Runbook > ret = null ;
45
- if ( this . ParameterSetName == AutomationCmdletParameterSets . ByAll )
45
+ if ( this . ParameterSetName == AutomationCmdletParameterSets . ByName )
46
46
{
47
47
ret = new List < Runbook >
48
48
{
49
49
this . AutomationClient . GetRunbook ( this . AutomationAccountName , this . Name )
50
50
} ;
51
51
}
52
- else if ( this . ParameterSetName == AutomationCmdletParameterSets . ByName )
52
+ else if ( this . ParameterSetName == AutomationCmdletParameterSets . ByAll )
53
53
{
54
54
ret = this . AutomationClient . ListRunbooks ( this . AutomationAccountName ) ;
55
55
}
Original file line number Diff line number Diff line change 121
121
<value >The Automation account was not found.</value >
122
122
<comment >Automation</comment >
123
123
</data >
124
+ <data name =" RunbookNotFound" xml : space =" preserve" >
125
+ <value >The Runbook was not found. Runbook name: {0}.</value >
126
+ <comment >Autmation</comment >
127
+ </data >
124
128
<data name =" ScheduleNotFound" xml : space =" preserve" >
125
129
<value >The schedule was not found. Schedule name: {0}.</value >
126
130
<comment >Automation</comment >
You can’t perform that action at this time.
0 commit comments