1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

Action Asim's Feedback

This commit is contained in:
Ben Toogood
2020-02-06 09:17:10 +00:00
parent d8110b70a3
commit aa58a9749b
5 changed files with 15 additions and 42 deletions

View File

@ -327,7 +327,8 @@ func (k *kubernetes) List() ([]*runtime.Service, error) {
func (k *kubernetes) Update(s *runtime.Service) error {
// create new kubernetes micro service
service := newService(s, runtime.CreateOptions{
Type: k.options.Type,
Type: k.options.Type,
Source: k.options.Source,
})
// update build time annotation
@ -343,8 +344,8 @@ func (k *kubernetes) Delete(s *runtime.Service) error {
// create new kubernetes micro service
service := newService(s, runtime.CreateOptions{
Type: k.options.Type,
BaseImage: k.options.Source,
Type: k.options.Type,
Source: k.options.Source,
})
return service.Stop(k.client)