Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Fixing errors in K8s getting started tutorial updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Wrede committed Apr 19, 2021
1 parent 3a24578 commit 8564a6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ func main() {
if isMinikube {
ip = frontend.Spec.ApplyT(func(val *corev1.ServiceSpec) string {
return *val.ClusterIP
}).(pulumi.StringOputput)
}).(pulumi.StringOutput)
} else {
ip = frontend.Status.Apply(func(val *corev1.ServiceStatus) string {
ip = frontend.Status.ApplyT(func(val *corev1.ServiceStatus) string {
if val.LoadBalancer.Ingress[0].Ip != nil {
return *val.LoadBalancer.Ingress[0].Ip
}
Expand Down

0 comments on commit 8564a6c

Please sign in to comment.