Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Nov 29, 2023
1 parent 4cfb31e commit 2178164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const (
logsServiceNameDockerLabelKey = "service_name"

// Traefik label keys
traefikLabelKeyPrefixStr = "traefik."
traefikLabelKeyPrefixStr = "traefik."
)

// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DO NOT CHANGE THESE VALUES !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2178164

Please sign in to comment.