Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions mgrpxy/cmd/cache/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,5 @@ func kubernetesCacheClear(
return utils.Errorf(err, L("failed to remove cached data"))
}

if _, err := cnx.Exec("squid", "-z", "--foreground"); err != nil {
return utils.Errorf(err, L("failed to re-create the cache directories"))
}

return kubernetes.Restart(namespace, kubernetes.ProxyApp)
}
4 changes: 0 additions & 4 deletions mgrpxy/cmd/cache/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ func podmanCacheClear(
return utils.Errorf(err, L("failed to remove cached data"))
}

if _, err := cnx.Exec("sh", "-c", "squid -z --foreground"); err != nil {
return utils.Errorf(err, L("failed to re-create the cache directories"))
}

return systemd.RestartService(podman.ProxyService)
}
1 change: 1 addition & 0 deletions uyuni-tools.changes.nadvornik.cache_fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix calling of squid -z in mgrpxy cache clear (bsc#1247644)