Don't watch and POST Worker pods to Hub

This commit is contained in:
M. Mert Yildiran
2023-01-21 03:09:15 +03:00
parent f128ae3993
commit 846f253a03
3 changed files with 0 additions and 116 deletions

View File

@@ -64,7 +64,6 @@ func (connector *Connector) isReachable(path string) (bool, error) {
}
func (connector *Connector) PostWorkerPodToHub(pod *v1.Pod) {
// TODO: This request is responsible for proxy_server.go:147] Error while proxying request: context canceled log
postWorkerUrl := fmt.Sprintf("%s/pods/worker", connector.url)
if podMarshalled, err := json.Marshal(pod); err != nil {