Skip to content

Commit 0c505a5

Browse files
author
Mrunal Patel
committed
Merge pull request opencontainers#106 from zenlinTechnofreak/updateDevice
Change Device field order in spec_linux.go
2 parents 7e4a877 + 4661b21 commit 0c505a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ type Resources struct {
167167
}
168168

169169
type Device struct {
170-
// Device type, block, char, etc.
171-
Type rune `json:"type"`
172170
// Path to the device.
173171
Path string `json:"path"`
172+
// Device type, block, char, etc.
173+
Type rune `json:"type"`
174174
// Major is the device's major number.
175175
Major int64 `json:"major"`
176176
// Minor is the device's minor number.

0 commit comments

Comments
 (0)