Migration to kubernetes + vault-agent
This commit is contained in:
@@ -39,7 +39,7 @@ func SendToVarnish(method string, url string, tag map[string]string) int {
|
||||
domain := strings.Trim(VarnishList[i], "\r\n")
|
||||
req, err := http.NewRequest(method, domain+url, nil)
|
||||
if err != nil {
|
||||
log.Fatal("Create new request : %s", err)
|
||||
log.Println("Create new request : ", err)
|
||||
}
|
||||
// If X-Cache-Tags header is not empty with pass it to varnish.
|
||||
if tag["X-Cache-Tags"] != "" {
|
||||
|
||||
Reference in New Issue
Block a user