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

Debugging

This commit is contained in:
Ben Toogood
2020-02-06 10:54:11 +00:00
parent c7d922fac2
commit c28737e88e
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
package kubernetes
import (
"encoding/json"
"errors"
"fmt"
"strings"
@ -276,6 +277,9 @@ func (k *kubernetes) Create(s *runtime.Service, opts ...runtime.CreateOption) er
service := newService(s, options)
bytes, _ := json.Marshal(service)
log.Debug(string(bytes))
// start the service
return service.Start(k.client)
}