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

zrhoffman 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 3e3751a771 Fix t3c log message with reversed args (#6870)
3e3751a771 is described below

commit 3e3751a77178ceb7257519ec39da3d96eb5bbaec
Author: Robert O Butts <[email protected]>
AuthorDate: Wed Jun 1 09:41:59 2022 -0600

    Fix t3c log message with reversed args (#6870)
---
 cache-config/t3cutil/toreq/client.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cache-config/t3cutil/toreq/client.go 
b/cache-config/t3cutil/toreq/client.go
index 4125ca012c..6b017c1884 100644
--- a/cache-config/t3cutil/toreq/client.go
+++ b/cache-config/t3cutil/toreq/client.go
@@ -170,7 +170,7 @@ func checkLatestAndFallBack(client *toclient.Session, url 
*url.URL, user string,
                return &TOClient{c: client}, nil
        }
 
-       log.Warnf("Traffic Ops '%v' does not support the latest client API 
version %v, falling back to the previous\n", LatestKnownAPIVersion(), 
torequtil.MaybeIPStr(toAddr))
+       log.Warnf("Traffic Ops '%v' does not support the latest client API 
version %v, falling back to the previous\n", torequtil.MaybeIPStr(toAddr), 
LatestKnownAPIVersion())
 
        oldClient, err := toreqold.New(url, user, pass, insecure, timeout, 
userAgent)
        if err != nil {

Reply via email to