Follow up on #1341 (#1344)

* mv d.yaml to examples

* rephrase debug log messages a bit
This commit is contained in:
namusyaka 2020-11-04 09:26:15 +09:00 committed by GitHub
parent 45864ed624
commit 119f0b8f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ func (k *Kubernetes) InitPodSpecWithConfigMap(name string, image string, service
var volumeMounts []api.VolumeMount
var volumes []api.Volume
log.Debugf("fuck config: %+v", service.Configs)
log.Debugf("Configs in InitPodSpecWithConfigMap: %+v", service.Configs)
for _, value := range service.Configs {
cmVolName := FormatFileName(value.Source)
@ -598,7 +598,7 @@ func (k *Kubernetes) ConfigServicePorts(name string, service kobject.ServiceConf
seenPorts := make(map[int]struct{}, len(service.Port))
var servicePort api.ServicePort
log.Debugf("fuck ports: %+v", service.Port)
log.Debugf("Ports in ConfigServicePorts: %+v", service.Port)
for _, port := range service.Port {
if port.HostPort == 0 {
port.HostPort = port.ContainerPort