Rename canary flag name from funcN/funcN-1 to newfunction/oldfunction (#1003)

This commit is contained in:
Ta-Ching Chen
2018-11-28 16:27:29 +08:00
committed by GitHub
parent 152c899e8b
commit c2bcbb06a9
8 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -338,8 +338,8 @@ type (
// Canary Config Spec
CanaryConfigSpec struct {
Trigger string `json:"trigger"`
FunctionN string `json:"funcn"`
FunctionNminus1 string `json:"funcn-1"`
NewFunction string `json:"newfunction"`
OldFunction string `json:"oldfunction"`
WeightIncrement int `json:"weightincrement"`
WeightIncrementDuration string `json:"duration"`
FailureThreshold int `json:"failurethreshold"`