diff --git a/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/docker_label_key/label_key_consts.go b/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/docker_label_key/label_key_consts.go index b694c83b4e..7ba70f9266 100644 --- a/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/docker_label_key/label_key_consts.go +++ b/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/docker_label_key/label_key_consts.go @@ -44,7 +44,7 @@ const ( logsServiceNameDockerLabelKey = "service_name" // Traefik label keys - traefikLabelKeyPrefixStr = "traefik." + traefikLabelKeyPrefixStr = "traefik." ) // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE THESE VALUES !!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/enclave_object_attributes_provider.go b/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/enclave_object_attributes_provider.go index 09cbeb04ee..a16e6b4adc 100644 --- a/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/enclave_object_attributes_provider.go +++ b/container-engine-lib/lib/backend_impls/docker/object_attributes_provider/enclave_object_attributes_provider.go @@ -253,7 +253,7 @@ func (provider *dockerEnclaveObjectAttributesProviderImpl) ForUserServiceContain } labels[dockerLabelKey] = dockerLabelValue } - + traefikLabels, err := provider.getTraefikLabelsForEnclaveObject(serviceUuidStr, privatePorts) if err != nil { return nil, stacktrace.Propagate(err, "An error occurred getting traefik labels for enclave object with UUID '%v'", serviceUuid) @@ -570,7 +570,7 @@ func (provider *dockerEnclaveObjectAttributesProviderImpl) getTraefikLabelsForEn return nil, stacktrace.Propagate(err, "An error occurred creating the traefik rule label value with value '%v'", ruleValue) } labels[ruleLabelKey] = ruleLabelValue - + // Service name serviceKeySuffix := fmt.Sprintf("http.routers.%s.service", servicePortStr) serviceLabelKey, err := docker_label_key.CreateNewDockerTraefikLabelKey(serviceKeySuffix)