From c74d7558a5cf649faba37ce5483acb534e71b7f4 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 4a23b6174..5b777da37 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