Any idea how can I use the getIngress function? no...
# golang
p
Any idea how can I use the getIngress function? not sure what to pass to it and how. tried doing the following:
Copy code
ingress, errGetIngress := networkingv1.GetIngress(ctx, values.Name, pulumi.IDInput(grafana.Status.Namespace()), &state)
but I get the syntax error:
Cannot convert an expression of the type 'pulumi.StringPtrOutput' to the type 'pulumi.IDInput'
f
You are mixing two different types. you can not pass as arguments a
pulumi.StringPtrOutput
when the method requires a type
pulumi.IDInput
instead.