1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Remove debugging

This commit is contained in:
Ben Toogood 2020-04-23 14:13:07 +01:00
parent 020476614c
commit 88176dca53
2 changed files with 0 additions and 5 deletions

View File

@ -350,7 +350,6 @@ func (k *kubeStream) Stop() error {
// Creates a service
func (k *kubernetes) Create(s *runtime.Service, opts ...runtime.CreateOption) error {
fmt.Println("KUBECTL CREATE")
k.Lock()
defer k.Unlock()

View File

@ -2,7 +2,6 @@ package kubernetes
import (
"encoding/json"
"fmt"
"strings"
"github.com/micro/go-micro/v2/logger"
@ -27,8 +26,6 @@ func parseError(err error) *api.Status {
}
func newService(s *runtime.Service, c runtime.CreateOptions) *service {
fmt.Println("KUBECTL newService")
// use pre-formatted name/version
name := client.Format(s.Name)
version := client.Format(s.Version)
@ -43,7 +40,6 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
// set the image pull secrets
kdeploy.Spec.Template.PodSpec.ImagePullSecrets = c.ImagePullSecrets
fmt.Printf("Setting ImagePullSecrets to %v\n", strings.Join(c.ImagePullSecrets, ", "))
// create if non existent
if s.Metadata == nil {