https://pulumi.com logo
#golang
Title
p

proud-animal-24343

01/06/2021, 7:46 PM
Hi, is someone able to help me understand why this line in plogin_install.go is configured to log as an error?
Copy code
cmdutil.Diag().Infoerrf(diag.Message("", "%s installing"), label)
Shouldn't it us the same logging logic as other messages in that script, e.g...
Copy code
logging.V(1).Infof("%s installing", label)
l

lemon-agent-27707

01/06/2021, 9:55 PM
could be a bug. Is this causing you trouble somehow?
p

proud-animal-24343

01/07/2021, 6:53 PM
"Trouble" would be strong, but certainly a mild annoyance: we use Octopus Deploy to automate using
pulumi up
and that system interprets those installation logs as errors. Luckily, it doesn't stop our automated processes, but it flags every deployment as having warnings. When we look at those deployment logs, here's what we see:
Everything installs just fine — but that log line prints as an error everytime
l

lemon-agent-27707

01/07/2021, 11:30 PM
would you mind filing an issue, we'd be happy to take a look https://github.com/pulumi/pulumi/issues/new/choose
3 Views