From 21781645f3365b21154f037c09deaaf0f574a526 Mon Sep 17 00:00:00 2001 From: Laurent Luce Date: Wed, 29 Nov 2023 16:44:00 -0500 Subject: [PATCH] Linting. --- .../docker_label_key/label_key_consts.go | 2 +- .../enclave_object_attributes_provider.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)