mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 08:13:25 +00:00
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:
@ -17,7 +17,7 @@ func TestDisabledScale(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestParameterEdge(t *testing.T){
|
||||
func TestParameterEdge(t *testing.T) {
|
||||
minReplicas := uint64(0)
|
||||
scalingFactor := uint64(0)
|
||||
newReplicas := CalculateReplicas("firing", DefaultMinReplicas, DefaultMaxReplicas, minReplicas, scalingFactor)
|
||||
@ -27,7 +27,7 @@ func TestParameterEdge(t *testing.T){
|
||||
}
|
||||
}
|
||||
|
||||
func TestMaxScale(t *testing.T){
|
||||
func TestMaxScale(t *testing.T) {
|
||||
minReplicas := uint64(1)
|
||||
scalingFactor := uint64(100)
|
||||
newReplicas := CalculateReplicas("firing", DefaultMinReplicas, DefaultMaxReplicas, minReplicas, scalingFactor)
|
||||
@ -85,4 +85,4 @@ func TestBackingOff(t *testing.T) {
|
||||
t.Log("Expected backing off to 1 replica")
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user