diff --git a/pkg/domain/infosync/info.go b/pkg/domain/infosync/info.go index 71cf23e4f09b1..b20a0a18f1262 100644 --- a/pkg/domain/infosync/info.go +++ b/pkg/domain/infosync/info.go @@ -405,6 +405,7 @@ func GetAllServerInfo(ctx context.Context) (map[string]*ServerInfo, error) { return is.getAllServerInfo(ctx) } +// UpdateServerLabel updates the server label for global info syncer. func UpdateServerLabel(ctx context.Context, labels map[string]string) error { is, err := getGlobalInfoSyncer() if err != nil {