Additonal Debugging
This commit is contained in:
parent
316b81f790
commit
0f42346976
@ -256,7 +256,6 @@ func (k *kubernetes) run(events <-chan runtime.Event) {
|
||||
// update build time annotation
|
||||
if service.Spec.Template.Metadata.Annotations == nil {
|
||||
service.Spec.Template.Metadata.Annotations = make(map[string]string)
|
||||
|
||||
}
|
||||
|
||||
// update the build time
|
||||
@ -351,6 +350,7 @@ 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()
|
||||
|
||||
|
@ -27,6 +27,8 @@ 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user