anyone know why my ComponentResource doesn’t outpu...
# general
d
anyone know why my ComponentResource doesn’t output
port
, but does correctly include it in
url
?
Copy code
this.hostname = service.metadata.name;
this.port = service.spec.ports.apply(
    ports => ports.find(p => p.name === "http").port
);
this.url = pulumi.interpolate`http://${this.hostname}:${this.port}/`;

this.registerOutputs({
    hostname: this.hostname,
    port: this.port,
    url: this.url
});