This is an automated email from the ASF dual-hosted git repository.

zike pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 3693b369 [fix] Change the wrong `SourceInstanceStatusData` in 
SinkInstanceStatus (#1199)
3693b369 is described below

commit 3693b3695e2f072f9506b64b5e3000e5f107070d
Author: jiangpengcheng <[email protected]>
AuthorDate: Thu Mar 21 15:39:08 2024 +0800

    [fix] Change the wrong `SourceInstanceStatusData` in SinkInstanceStatus 
(#1199)
---
 pulsaradmin/pkg/utils/sink_status.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsaradmin/pkg/utils/sink_status.go 
b/pulsaradmin/pkg/utils/sink_status.go
index 6cdb091f..a2651959 100644
--- a/pulsaradmin/pkg/utils/sink_status.go
+++ b/pulsaradmin/pkg/utils/sink_status.go
@@ -28,8 +28,8 @@ type SinkStatus struct {
 }
 
 type SinkInstanceStatus struct {
-       InstanceID int                      `json:"instanceId"`
-       Status     SourceInstanceStatusData `json:"status"`
+       InstanceID int                    `json:"instanceId"`
+       Status     SinkInstanceStatusData `json:"status"`
 }
 
 type SinkInstanceStatusData struct {

Reply via email to