Merge pull request #106 from zenlinTechnofreak/updateDevice

Change Device field order in spec_linux.go
This commit is contained in:
Mrunal Patel 2015-08-12 18:27:25 -07:00
commit 0c505a55d8
1 changed files with 2 additions and 2 deletions

View File

@ -167,10 +167,10 @@ type Resources struct {
} }
type Device struct { type Device struct {
// Device type, block, char, etc.
Type rune `json:"type"`
// Path to the device. // Path to the device.
Path string `json:"path"` Path string `json:"path"`
// Device type, block, char, etc.
Type rune `json:"type"`
// Major is the device's major number. // Major is the device's major number.
Major int64 `json:"major"` Major int64 `json:"major"`
// Minor is the device's minor number. // Minor is the device's minor number.