File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/ResourceManager/Resources/Commands.Resources/Providers Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.Resources
19
19
using System . Linq ;
20
20
using System . Management . Automation ;
21
21
using Microsoft . Azure . Commands . Resources . Models ;
22
- using Microsoft . Azure . Management . Resources . Models ;
22
+ using Microsoft . Azure . Management . Resources . Models ;
23
23
24
24
/// <summary>
25
25
/// Get an existing resource.
@@ -41,6 +41,9 @@ public class GetAzureProviderOperationCommand : ResourcesBaseCmdlet
41
41
/// </summary>
42
42
public override void ExecuteCmdlet ( )
43
43
{
44
+ // remove leading and trailing whitespaces
45
+ this . ActionString = this . ActionString . Trim ( ) ;
46
+
44
47
List < PSResourceProviderOperation > operationsToDisplay ;
45
48
46
49
if ( this . ActionString . Contains ( WildCardCharacter ) )
You can’t perform that action at this time.
0 commit comments