Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Null parameters ?

See original GitHub issue

How would it be possible to emulate a template parameter that is actually null and should be null ?

I am referring to the case of a webapp x container where to not specifiy a password and let the service use it’s sp to access the acr the “azure portal” way of generating a working template/paramter is

        "dockerRegistryUsername": {
            "value": "dwnextacr"
        "dockerRegistryPassword": {
            "value": null

I tried with let acrPwdParam = (sprintf “docker-password-for-%s” acrName, null )

but it does not seem to work 😄

For reference the error is

Message: Validation failed for a resource. Check ‘Error.Details[0]’ for more information. Exception Details: Error Code: AccessToContainerRegistryDenied Message: Access is denied.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

isaacabrahamcommented, Dec 12, 2020

Closing due to lack of activity.

isaacabrahamcommented, Dec 15, 2020

No worries 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Null Parameter Values
Test for null parameter variables in your command list and provide default values to avoid possible syntax errors. Parent topic: Variables.
Read more >
How do I make my parameter work when it is a null value?
When the parameter has no value, SQL interprets it as null in your code. Null means no value. You can fix this problem...
Read more >
C# 11.0 preview: parameter null checking
In this post I'm going to describe what this new language feature does, and how it relates to and is distinct from nullable...
Read more >
Spring Data JPA and Null Parameters
Learn different ways to use null parameters with Spring Data JPA queries, including how to make query parameters optional.
Read more >
Null subject parameter
Pro-drop parameter, or null subject parameter, is the parameter that determines whether or not a language is pro-drop. A positive setting of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found