Merge pull request #106 from zenlinTechnofreak/updateDevice
Change Device field order in spec_linux.go
This commit is contained in:
commit
0c505a55d8
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue