My pull request failed the build due to gofmat issues. I have run gofmt
on specified files and this commit fixes it.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
| ... | ... |
@@ -62,25 +62,25 @@ type MetaData struct {
|
| 62 | 62 |
} |
| 63 | 63 |
|
| 64 | 64 |
type DeviceSet struct {
|
| 65 |
- MetaData `json:"-"` |
|
| 66 |
- sync.Mutex `json:"-"` // Protects Devices map and serializes calls into libdevmapper |
|
| 67 |
- root string `json:"-"` |
|
| 68 |
- devicePrefix string `json:"-"` |
|
| 69 |
- TransactionId uint64 `json:"-"` |
|
| 70 |
- NewTransactionId uint64 `json:"-"` |
|
| 71 |
- NextDeviceId int `json:"next_device_id"` |
|
| 65 |
+ MetaData `json:"-"` |
|
| 66 |
+ sync.Mutex `json:"-"` // Protects Devices map and serializes calls into libdevmapper |
|
| 67 |
+ root string `json:"-"` |
|
| 68 |
+ devicePrefix string `json:"-"` |
|
| 69 |
+ TransactionId uint64 `json:"-"` |
|
| 70 |
+ NewTransactionId uint64 `json:"-"` |
|
| 71 |
+ NextDeviceId int `json:"next_device_id"` |
|
| 72 | 72 |
|
| 73 | 73 |
// Options |
| 74 |
- dataLoopbackSize int64 `json:"-"` |
|
| 75 |
- metaDataLoopbackSize int64 `json:"-"` |
|
| 76 |
- baseFsSize uint64 `json:"-"` |
|
| 77 |
- filesystem string `json:"-"` |
|
| 78 |
- mountOptions string `json:"-"` |
|
| 79 |
- mkfsArgs []string `json:"-"` |
|
| 80 |
- dataDevice string `json:"-"` |
|
| 81 |
- metadataDevice string `json:"-"` |
|
| 82 |
- doBlkDiscard bool `json:"-"` |
|
| 83 |
- thinpBlockSize uint32 `json:"-"` |
|
| 74 |
+ dataLoopbackSize int64 `json:"-"` |
|
| 75 |
+ metaDataLoopbackSize int64 `json:"-"` |
|
| 76 |
+ baseFsSize uint64 `json:"-"` |
|
| 77 |
+ filesystem string `json:"-"` |
|
| 78 |
+ mountOptions string `json:"-"` |
|
| 79 |
+ mkfsArgs []string `json:"-"` |
|
| 80 |
+ dataDevice string `json:"-"` |
|
| 81 |
+ metadataDevice string `json:"-"` |
|
| 82 |
+ doBlkDiscard bool `json:"-"` |
|
| 83 |
+ thinpBlockSize uint32 `json:"-"` |
|
| 84 | 84 |
} |
| 85 | 85 |
|
| 86 | 86 |
type DiskUsage struct {
|