Pass through source and metadata in Update and Delete calls to runtime (#1431)
This commit is contained in:
parent
011a783a9e
commit
b60fde0e64
@ -107,6 +107,8 @@ func (s *svc) Update(svc *runtime.Service) error {
|
|||||||
Service: &pb.Service{
|
Service: &pb.Service{
|
||||||
Name: svc.Name,
|
Name: svc.Name,
|
||||||
Version: svc.Version,
|
Version: svc.Version,
|
||||||
|
Source: svc.Source,
|
||||||
|
Metadata: svc.Metadata,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,6 +126,8 @@ func (s *svc) Delete(svc *runtime.Service) error {
|
|||||||
Service: &pb.Service{
|
Service: &pb.Service{
|
||||||
Name: svc.Name,
|
Name: svc.Name,
|
||||||
Version: svc.Version,
|
Version: svc.Version,
|
||||||
|
Source: svc.Source,
|
||||||
|
Metadata: svc.Metadata,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user