Skip to content

Commit 7ae3430

Browse files
authored
Merge branch 'main' into laverya/sc-97016/enforce-using-the-same-binary-on-each-node
2 parents e99df56 + f31ff2c commit 7ae3430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/k8sutil/portforward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ func createDialer(cfg *rest.Config, namespace string, podName string) (httpstrea
360360
if err != nil {
361361
return nil, errors.Wrap(err, "failed to create roundtriper")
362362
}
363-
path := fmt.Sprintf("/api/v1/namespaces/%s/pods/%s/portforward", namespace, podName)
364363
scheme := ""
365364
hostIP := cfg.Host
366365

@@ -373,6 +372,7 @@ func createDialer(cfg *rest.Config, namespace string, podName string) (httpstrea
373372
scheme = u.Scheme
374373
hostIP = u.Host
375374
}
375+
path := fmt.Sprintf("%s/api/v1/namespaces/%s/pods/%s/portforward", u.Path, namespace, podName)
376376

377377
serverURL := url.URL{Scheme: scheme, Path: path, Host: hostIP}
378378
return spdy.NewDialer(upgrader, &http.Client{Transport: roundTripper}, http.MethodPost, &serverURL), nil

web/src/features/Dashboard/components/Dashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ const Dashboard = (props: Props) => {
757757
>
758758
<div className="Modal-body">
759759
<p className="u-fontSize--large u-fontWeight--bold u-textColor--primary">
760-
Error uploading airgap buundle
760+
Error uploading airgap bundle
761761
</p>
762762
<div className="ExpandedError--wrapper u-marginTop--10 u-marginBottom--10">
763763
<p className="u-fontSize--normal u-textColor--error">

0 commit comments

Comments
 (0)