From 4bed0c86277e7cbbd1a47d2140d397f08fb6e1e2 Mon Sep 17 00:00:00 2001 From: Nick Sardo Date: Mon, 22 May 2017 16:11:05 -0700 Subject: [PATCH] Update description if not correct --- controllers/gce/backends/backends.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/gce/backends/backends.go b/controllers/gce/backends/backends.go index d09db6053..4cb797731 100644 --- a/controllers/gce/backends/backends.go +++ b/controllers/gce/backends/backends.go @@ -234,7 +234,7 @@ func (b *Backends) Add(p ServicePort) error { if len(be.HealthChecks) == 1 { existingHCLink = be.HealthChecks[0] } - if be.Protocol != string(p.Protocol) || existingHCLink != hcLink { + if be.Protocol != string(p.Protocol) || existingHCLink != hcLink || be.Description != p.Description() { glog.V(2).Infof("Updating backend protocol %v (%v) for change in protocol (%v) or health check", pName, be.Protocol, string(p.Protocol)) be.Protocol = string(p.Protocol) be.HealthChecks = []string{hcLink}