Skip to content

Commit 4f50f52

Browse files
Merge pull request #418 from codefresh-io/update-models-gen
wip
2 parents 6f07a1b + 93485f5 commit 4f50f52

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.41.0
1+
0.41.1

pkg/codefresh/codefresh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (c *codefresh) AppProxy(ctx context.Context, runtime string, insecure bool)
130130
return nil, fmt.Errorf("failed to create app-proxy client for runtime %s: %w", runtime, err)
131131
}
132132

133-
if rt.IngressHost == "" {
133+
if rt.IngressHost == nil || *rt.IngressHost == "" {
134134
return nil, fmt.Errorf("failed to create app-proxy client for runtime %s: runtime does not have ingressHost configured", runtime)
135135
}
136136

@@ -143,7 +143,7 @@ func (c *codefresh) AppProxy(ctx context.Context, runtime string, insecure bool)
143143
}
144144

145145
return newClient(&ClientOptions{
146-
Host: rt.IngressHost,
146+
Host: *rt.IngressHost,
147147
Auth: AuthOptions{Token: c.token},
148148
Client: httpClient,
149149
graphqlPath: "/app-proxy/api/graphql",

pkg/codefresh/model/app-proxy/models_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/codefresh/model/models_gen.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)