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

shamrick 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 0142763610 Fix t3c nil reference on fallback (#6744)
0142763610 is described below

commit 01427636105d470ff3ac01347c163e0a0b8692dd
Author: Robert O Butts <[email protected]>
AuthorDate: Mon Apr 11 14:54:45 2022 -0600

    Fix t3c nil reference on fallback (#6744)
---
 cache-config/t3cutil/toreq/clientfuncs.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cache-config/t3cutil/toreq/clientfuncs.go 
b/cache-config/t3cutil/toreq/clientfuncs.go
index 5c227087c0..aa1e7aca24 100644
--- a/cache-config/t3cutil/toreq/clientfuncs.go
+++ b/cache-config/t3cutil/toreq/clientfuncs.go
@@ -70,7 +70,7 @@ func (cl *TOClient) GetProfileByName(profileName string, 
reqHdr http.Header) (tc
 func (cl *TOClient) WriteFsCookie(fileName string) {
        tmpFileName := fileName + ".tmp"
        cookie := torequtil.FsCookie{}
-       u, err := url.Parse(cl.c.URL)
+       u, err := url.Parse(cl.URL())
        if err != nil {
                log.Warnln("Error parsing Traffic ops URL: ", err)
                return

Reply via email to