Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lbbniu committed Jun 17, 2023
1 parent 091b725 commit ac24b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tars/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (a *application) deregisterAdapters(ctx context.Context) {
TarsVersion: Version,
App: svrCfg.App,
Server: svrCfg.Server,
Servant: adapter.Obj,
EnableSet: svrCfg.Enableset,
SetDivision: svrCfg.Setdivision,
Servant: adapter.Obj,
Protocol: adapter.Protocol,
Endpoint: adapter.Endpoint,
}
Expand Down
2 changes: 1 addition & 1 deletion tars/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ type ServantInstance struct {
TarsVersion string `json:"tars_version"`
App string `json:"app"`
Server string `json:"server"`
Servant string `json:"servant"`
EnableSet bool `json:"enable_set"`
SetDivision string `json:"set_division"`
Protocol string `json:"protocol"`
Servant string `json:"servant"`
Endpoint endpoint.Endpoint `json:"endpoint"`
}

Expand Down

0 comments on commit ac24b47

Please sign in to comment.