Fix build error.
Cameron Stitt
6 years ago
215 | 215 | |
216 | 216 | func makeDimensions(labelValues ...string) []*cloudwatch.Dimension { |
217 | 217 | dimensions := make([]*cloudwatch.Dimension, len(labelValues)/2) |
218 | for i, j := 0, 0; i < len(labelValues); i, j := i+2, j+1 { | |
218 | for i, j := 0, 0; i < len(labelValues); i, j = i+2, j+1 { | |
219 | 219 | dimensions[j] = &cloudwatch.Dimension{ |
220 | 220 | Name: aws.String(labelValues[i]), |
221 | 221 | Value: aws.String(labelValues[i+1]), |