diff --git a/src/ServiceBus/ServiceBus/Cmdlets/AzureServiceBusCmdletBase.cs b/src/ServiceBus/ServiceBus/Cmdlets/AzureServiceBusCmdletBase.cs index e689b9639a2c..05a3decc70dc 100644 --- a/src/ServiceBus/ServiceBus/Cmdlets/AzureServiceBusCmdletBase.cs +++ b/src/ServiceBus/ServiceBus/Cmdlets/AzureServiceBusCmdletBase.cs @@ -184,7 +184,7 @@ public static SkuTier ParseSkuTier(string skuTier) public static TimeSpan ParseTimespan(string strTimespan) { TimeSpan tspan = new TimeSpan(); - if(strTimespan.Contains("P") || strTimespan.Contains("D") || strTimespan.Contains("T") || strTimespan.Contains("H") || strTimespan.Contains("M") || strTimespan.Contains("M")) + if(strTimespan.Contains("P") || strTimespan.Contains("D") || strTimespan.Contains("T") || strTimespan.Contains("H") || strTimespan.Contains("M")) { tspan = XmlConvert.ToTimeSpan(strTimespan); }