Skip to content

Commit f59fc71

Browse files
author
Ravi Teja
committed
removing white spaces
1 parent 42d26c2 commit f59fc71

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

src/DataBoxEdge/DataBoxEdge/Common/Cmdlets/Roles/DataBoxEdgeRoleNewCmdletBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private void ParseIotDeviceConnectionString()
243243
this.iotDeviceAccessKey = deviceProperties.GetOrNull(SharedAccessKey);
244244
this.iotDeviceHostHub = deviceProperties.GetOrNull(HostName);
245245
}
246-
246+
247247
private void ParseEdgeDeviceConnectionString()
248248
{
249249
var deviceProperties = GetIotDeviceProperties(this.IotEdgeDeviceConnectionString.ConvertToString());
@@ -257,14 +257,14 @@ private PSResourceModel CreateResourceModel()
257257
var iotDeviceSecret = DataBoxEdgeManagementClient.Devices.GetAsymmetricEncryptedSecret(
258258
this.DeviceName,
259259
this.ResourceGroupName,
260-
GetConnectionString(this.IotHostHub, this.IotDeviceId,this.iotDeviceAccessKey),
260+
GetConnectionString(this.IotHostHub, this.IotDeviceId, this.iotDeviceAccessKey),
261261
this.EncryptionKey.ConvertToString()
262262
);
263263

264264
var iotEdgeDeviceSecret = DataBoxEdgeManagementClient.Devices.GetAsymmetricEncryptedSecret(
265265
this.DeviceName,
266266
this.ResourceGroupName,
267-
GetConnectionString(this.IotHostHub,this.IotEdgeDeviceId,this.iotEdgeDeviceAccessKey),
267+
GetConnectionString(this.IotHostHub, this.IotEdgeDeviceId, this.iotEdgeDeviceAccessKey),
268268
this.EncryptionKey.ConvertToString()
269269
);
270270

src/DataBoxEdge/DataBoxEdge/Common/DataBoxEdgeResourceIdentifier.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class DataBoxEdgeResourceIdentifier : ResourceIdentifier
2424
public bool IsSubResource { get; }
2525
public string DeviceName { get; }
2626
public string Name { get; }
27-
27+
2828
public DataBoxEdgeResourceIdentifier(string resourceId) : base(resourceId)
2929
{
3030
if (!this.ResourceType.StartsWithInsensitively(Constants.DataBoxEdgeDeviceProvider))
@@ -45,7 +45,5 @@ public DataBoxEdgeResourceIdentifier(string resourceId) : base(resourceId)
4545

4646
this.Name = this.ResourceName;
4747
}
48-
49-
5048
}
5149
}

src/DataBoxEdge/DataBoxEdge/Models/PSDataBoxEdgeNetworkAdapter.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataBoxEdge.Models
66
{
77
public class PSDataBoxEdgeNetworkAdapter
88
{
9-
109
[Ps1Xml(Label = "IPv4", Target = ViewControl.Table,
1110
ScriptBlock = "$_.networkAdapter.Ipv4Configuration.IpAddress", Position = 2)]
1211
[Ps1Xml(Label = "IPv6", Target = ViewControl.Table,
@@ -28,9 +27,6 @@ public class PSDataBoxEdgeNetworkAdapter
2827
[Ps1Xml(Label = "DeviceName", Target = ViewControl.Table, Position = 0)]
2928
public string DeviceName;
3029

31-
32-
33-
3430
public PSDataBoxEdgeNetworkAdapter()
3531
{
3632
NetworkAdapter = new NetworkAdapter();

0 commit comments

Comments
 (0)