Skip to content

Commit

Permalink
chore: Fix whitespace and typos (#12540)
Browse files Browse the repository at this point in the history
No functional changes.
  • Loading branch information
olix0r committed May 2, 2024
1 parent 0da46c0 commit cae5349
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion controller/proxy-injector/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func Inject(linkerdNamespace string) webhook.Handler {

// If the pod did not inherit the opaque ports annotation from the
// namespace, then add the default value from the config values. This
// ensures that the generated patch always sets the opaue ports
// ensures that the generated patch always sets the opaque ports
// annotation.
if !resourceConfig.HasWorkloadAnnotation(pkgK8s.ProxyOpaquePortsAnnotation) {
defaultPorts := strings.Split(resourceConfig.GetValues().Proxy.OpaquePorts, ",")
Expand Down
14 changes: 7 additions & 7 deletions jaeger/injector/mutator/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const tpl = `[
"value": {
"downwardAPI": {
"items": [
{
"fieldRef": {
"fieldPath": "metadata.labels"
},
"path": "labels"
}
]
{
"fieldRef": {
"fieldPath": "metadata.labels"
},
"path": "labels"
}
]
},
"name": "linkerd-podinfo"
}
Expand Down

0 comments on commit cae5349

Please sign in to comment.