Apply gofmt

Previous PR from Simon or Ken broke build due to missing gofmt
in the PR. This PR applies it to resolve the build issue.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware)
2018-04-11 20:46:20 -07:00
parent cb15c11061
commit 811bbe6031
5 changed files with 8 additions and 8 deletions

View File

@ -149,7 +149,7 @@ func (s ExternalServiceQuery) SetReplicas(serviceName string, count uint64) erro
// extractLabelValue will parse the provided raw label value and if it fails
// it will return the provided fallback value and log an message
func extractLabelValue(rawLabelValue string, fallback uint64 ) uint64{
func extractLabelValue(rawLabelValue string, fallback uint64) uint64 {
if len(rawLabelValue) <= 0 {
return fallback
}
@ -162,4 +162,4 @@ func extractLabelValue(rawLabelValue string, fallback uint64 ) uint64{
}
return uint64(value)
}
}

View File

@ -29,4 +29,4 @@ func TestLabelValueWasInValid(t *testing.T) {
t.Log("Expected extractedValue to equal the fallbackValue")
t.Fail()
}
}
}