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

@ -38,7 +38,6 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
for _, c := range kdeploy.Spec.Template.PodSpec.Containers {
c.Image = s.Source
c.Command = []string{name}
log.Debugf("Setting name to %v", c.Command)
}
}
@ -70,7 +69,6 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
}
// specify the command to exec
log.Debug("c.Command: ", c.Command)
if len(c.Command) > 0 {
kdeploy.Spec.Template.PodSpec.Containers[0].Command = c.Command
}