Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Using Replicas for AvailableReplicas
Browse files Browse the repository at this point in the history
Switching to `Replicas` for `AvailableReplicas`.

Signed-off-by: Jonathan Gnagy <[email protected]>
  • Loading branch information
jgnagy committed Jan 5, 2019
1 parent 0af3c00 commit 0cf3408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/replicas.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func MakeReplicaReader(client rancher.BridgeClient) VarsHandler {
return
}

found.AvailableReplicas = 1
found.AvailableReplicas = found.Replicas

functionBytes, _ := json.Marshal(found)
w.Header().Set("Content-Type", "application/json")
Expand Down

0 comments on commit 0cf3408

Please sign in to comment.