From cc13b9318d4d3640f50ecf7fc60ec1c6e6cfb6fd Mon Sep 17 00:00:00 2001 From: bakito Date: Fri, 22 Dec 2023 17:26:29 +0100 Subject: [PATCH] correct api status host property from 'origin' to 'host' --- pkg/sync/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sync/http.go b/pkg/sync/http.go index ca9bdca9..0ce81583 100644 --- a/pkg/sync/http.go +++ b/pkg/sync/http.go @@ -128,7 +128,7 @@ type syncStatus struct { } type replicaStatus struct { - Host string `json:"origin"` + Host string `json:"host"` URL string `json:"url"` Status string `json:"status"` Error string `json:"error"`