Skip to content

Commit

Permalink
add proper json tag for capacity on CellPresence
Browse files Browse the repository at this point in the history
previously this was the only field with a capital 'c', which was odd.

[#86841562]
  • Loading branch information
vito committed Feb 5, 2015
1 parent d368139 commit 33fd75e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,10 @@ type ActualLRPResponse struct {
}

type CellResponse struct {
CellID string `json:"cell_id"`
Stack string `json:"stack"`
Zone string `json:"zone"`
Capacity CellCapacity
CellID string `json:"cell_id"`
Stack string `json:"stack"`
Zone string `json:"zone"`
Capacity CellCapacity `json:"capacity"`
}

type CellCapacity struct {
Expand Down

0 comments on commit 33fd75e

Please sign in to comment.