Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ed2b6e

Browse filesBrowse files
author
avsmirnov
committed
rename Uuid to ID
1 parent 3b3b2aa commit 5ed2b6e
Copy full SHA for 5ed2b6e

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎openstack/compute/v2/migrations/results.go

Copy file name to clipboardExpand all lines: openstack/compute/v2/migrations/results.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type Migration struct {
2020
// The ID of the server migration
2121
Id int64 `json:"id"`
2222
// The UUID of the server
23-
InstanceUuid string `json:"instance_uuid"`
23+
InstanceID string `json:"instance_uuid"`
2424
// In resize case, the flavor ID for resizing the server
2525
NewInstanceTypeId int64 `json:"new_instance_type_id"`
2626
// The flavor ID of the server when the migration was started

‎openstack/compute/v2/migrations/testing/fixtures_test.go

Copy file name to clipboardExpand all lines: openstack/compute/v2/migrations/testing/fixtures_test.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var ListExpected = []migrations.Migration{
1818
DestCompute: "hci0",
1919
DestHost: "192.168.1.41",
2020
DestNode: "hci0",
21-
InstanceUuid: "6ba1f91a-50cc-48cd-9ce6-310991acb08d",
21+
InstanceID: "6ba1f91a-50cc-48cd-9ce6-310991acb08d",
2222
NewInstanceTypeId: 1,
2323
OldInstanceTypeId: 1,
2424
SourceCompute: "compute0",
@@ -36,7 +36,7 @@ var ListExpected = []migrations.Migration{
3636
DestCompute: "compute0",
3737
DestHost: "192.168.1.42",
3838
DestNode: "compute0",
39-
InstanceUuid: "6ba1f91a-50cc-48cd-9ce6-310991acb08d",
39+
InstanceID: "6ba1f91a-50cc-48cd-9ce6-310991acb08d",
4040
NewInstanceTypeId: 1,
4141
OldInstanceTypeId: 1,
4242
SourceCompute: "hci0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.