This repository was archived by the owner on Jun 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ type PublishPlan struct {
114
114
115
115
type PublishOutput struct {
116
116
Duration time.Duration
117
- RegistryHost registryHost
117
+ registryHost registryHost
118
118
publishedImages map [string ]string
119
119
}
120
120
@@ -154,6 +154,13 @@ func (do *PublishOutput) SetDuration(d time.Duration) {
154
154
}
155
155
}
156
156
157
+ func (o * PublishOutput ) RegistryHost () string {
158
+ if o == nil {
159
+ return ""
160
+ }
161
+ return string (o .registryHost )
162
+ }
163
+
157
164
func getRemoteRegistryInfo (
158
165
ctx context.Context ,
159
166
pubOpts * PublishOptions ,
@@ -479,7 +486,7 @@ func (p *Pad) publishDockerImage(
479
486
480
487
return & PublishOutput {
481
488
publishedImages : published ,
482
- RegistryHost : plan .registry .GetHost (),
489
+ registryHost : plan .registry .GetHost (),
483
490
}, nil
484
491
}
485
492
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func makeDeployOptions(
63
63
helm .NewImageProvider (
64
64
buildOutput .Image .String (),
65
65
publishOutput .PublishedImages (),
66
- string ( publishOutput .RegistryHost ),
66
+ publishOutput .RegistryHost ( ),
67
67
),
68
68
jetCfg ,
69
69
cluster ,
You can’t perform that action at this time.
0 commit comments