Codebase list golang-github-go-kit-kit / 1223f9f
Fix build error. Cameron Stitt 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
215215
216216 func makeDimensions(labelValues ...string) []*cloudwatch.Dimension {
217217 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 {
219219 dimensions[j] = &cloudwatch.Dimension{
220220 Name: aws.String(labelValues[i]),
221221 Value: aws.String(labelValues[i+1]),