mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
Pass through source and metadata in Update and Delete calls to runtime (#1431)
This commit is contained in:
parent
011a783a9e
commit
b60fde0e64
@ -105,8 +105,10 @@ func (s *svc) Update(svc *runtime.Service) error {
|
||||
// runtime service create request
|
||||
req := &pb.UpdateRequest{
|
||||
Service: &pb.Service{
|
||||
Name: svc.Name,
|
||||
Version: svc.Version,
|
||||
Name: svc.Name,
|
||||
Version: svc.Version,
|
||||
Source: svc.Source,
|
||||
Metadata: svc.Metadata,
|
||||
},
|
||||
}
|
||||
|
||||
@ -122,8 +124,10 @@ func (s *svc) Delete(svc *runtime.Service) error {
|
||||
// runtime service create request
|
||||
req := &pb.DeleteRequest{
|
||||
Service: &pb.Service{
|
||||
Name: svc.Name,
|
||||
Version: svc.Version,
|
||||
Name: svc.Name,
|
||||
Version: svc.Version,
|
||||
Source: svc.Source,
|
||||
Metadata: svc.Metadata,
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user