Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit b1ce0af

Browse files
committed
change field types: uint -> int
1 parent 2571c77 commit b1ce0af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rackspace/compute/v2/flavors/results.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
// ExtraSpecs provide additional information about the flavor.
1111
type ExtraSpecs struct {
1212
// The number of data disks
13-
NumDataDisks uint `mapstructure:"number_of_data_disks"`
13+
NumDataDisks int `mapstructure:"number_of_data_disks"`
1414
// The flavor class
1515
Class string `mapstructure:"class"`
1616
// Relative measure of disk I/O performance from 0-99, where higher is faster
17-
DiskIOIndex uint `mapstructure:"disk_io_index"`
17+
DiskIOIndex int `mapstructure:"disk_io_index"`
1818
PolicyClass string `mapstructure:"policy_class"`
1919
}
2020

0 commit comments

Comments
 (0)