This is an automated email from the ASF dual-hosted git repository.

rob pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 85f1073  Fixes the CrStates query used by the tc-health-client. (#6523)
85f1073 is described below

commit 85f1073154a8cf3754fb454984b1e50a7a4e636c
Author: John J. Rushford <[email protected]>
AuthorDate: Tue Jan 25 12:26:10 2022 -0700

    Fixes the CrStates query used by the tc-health-client. (#6523)
    
    Should not be using raw == true as that requests only
    the local state.
---
 tc-health-client/tmagent/tmagent.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tc-health-client/tmagent/tmagent.go 
b/tc-health-client/tmagent/tmagent.go
index 721bbe6..e9211a7 100644
--- a/tc-health-client/tmagent/tmagent.go
+++ b/tc-health-client/tmagent/tmagent.go
@@ -251,7 +251,7 @@ func (c *ParentInfo) GetCacheStatuses() (tc.CRStates, 
error) {
                tmc.Transport = &http.Transport{Proxy: 
http.ProxyURL(c.Cfg.ParsedProxyURL)}
        }
 
-       return tmc.CRStates(true)
+       return tmc.CRStates(false)
 }
 
 // The main polling function that keeps the parents list current if

Reply via email to