Skip to content

Commit

Permalink
GoFmt: fix projects and quotas schemas. (#93)
Browse files Browse the repository at this point in the history
Fix formatting issues in Resell V2 projects and quotas.
  • Loading branch information
ozerovandrei committed Sep 30, 2018
1 parent 45ea582 commit 297f891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion selvpcclient/resell/v2/projects/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (result *Project) UnmarshalJSON(b []byte) error {
i := 0
for resourceName, resourceQuotas := range s.Quotas {
resourceQuotasSlice[i] = quotas.Quota{
Name: resourceName,
Name: resourceName,
ResourceQuotasEntities: resourceQuotas,
}
i++
Expand Down
4 changes: 2 additions & 2 deletions selvpcclient/resell/v2/quotas/schemas.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (result *ResourcesQuotas) UnmarshalJSON(b []byte) error {
i := 0
for resourceName, resourceQuotas := range s.ResourcesQuotas {
resourceQuotasSlice[i] = &Quota{
Name: resourceName,
Name: resourceName,
ResourceQuotasEntities: resourceQuotas,
}
i++
Expand Down Expand Up @@ -149,7 +149,7 @@ func (result *ProjectsQuotas) UnmarshalJSON(b []byte) error {
j := 0
for resourceName, resourceQuotas := range projectQuotas {
resourceQuotasSlice[j] = Quota{
Name: resourceName,
Name: resourceName,
ResourceQuotasEntities: resourceQuotas,
}
j++
Expand Down

0 comments on commit 297f891

Please sign in to comment.