From d74390ef864061cad7acaa6564e0c1b23a7ba73d Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Wed, 19 Jul 2017 17:39:48 -0700 Subject: [PATCH] Fix UpgradeVersionTag field not being passed correctly (#3304) --- agent/operator_endpoint.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent/operator_endpoint.go b/agent/operator_endpoint.go index 4a23b61742..5b777da373 100644 --- a/agent/operator_endpoint.go +++ b/agent/operator_endpoint.go @@ -210,6 +210,7 @@ func (s *HTTPServer) OperatorAutopilotConfiguration(resp http.ResponseWriter, re ServerStabilizationTime: api.NewReadableDuration(reply.ServerStabilizationTime), RedundancyZoneTag: reply.RedundancyZoneTag, DisableUpgradeMigration: reply.DisableUpgradeMigration, + UpgradeVersionTag: reply.UpgradeVersionTag, CreateIndex: reply.CreateIndex, ModifyIndex: reply.ModifyIndex, } @@ -235,6 +236,7 @@ func (s *HTTPServer) OperatorAutopilotConfiguration(resp http.ResponseWriter, re ServerStabilizationTime: conf.ServerStabilizationTime.Duration(), RedundancyZoneTag: conf.RedundancyZoneTag, DisableUpgradeMigration: conf.DisableUpgradeMigration, + UpgradeVersionTag: conf.UpgradeVersionTag, } // Check for cas value