Skip to content

Commit 1c84f2f

Browse files
committed
Fix line wraps for gists
1 parent d048228 commit 1c84f2f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

samples/Rackspace.Samples/AssignPublicIPSamples.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ public async Task Run(string username, string apiKey, string region)
2929
throw new Exception($"You do not have a Hybrid Cloud / RackConnect network configured in the {region} which is required to run this sample.");
3030

3131
Console.WriteLine("Creating sample cloud server... ");
32-
const string ubuntuImageId = "09de0a66-3156-48b4-90a5-1cf25a905207"; // Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
33-
const string standardFlavorId = "2"; // 512MB Standard Instance
32+
// Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)
33+
const string ubuntuImageId = "09de0a66-3156-48b4-90a5-1cf25a905207";
34+
// 512MB Standard Instance
35+
const string standardFlavorId = "2";
3436
var requestedServer = serverService.CreateServer("sample", ubuntuImageId, standardFlavorId,
3537
networks: new string[] {network.Id});
3638
serverService.WaitForServerActive(requestedServer.Id);
3739

3840
Console.WriteLine("Allocating a public IP address...");
39-
var ip = await rackConnectService.CreatePublicIPAsync(new PublicIPCreateDefinition {ShouldRetain = true});
41+
var ip = await rackConnectService.CreatePublicIPAsync(
42+
new PublicIPCreateDefinition {ShouldRetain = true});
4043
await ip.WaitUntilActiveAsync();
4144
Console.WriteLine($"Acquired {ip.PublicIPv4Address}!");
4245

0 commit comments

Comments
 (0)