Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
js7AgentHostname = env('HOSTNAME', env('COMPUTERNAME'), ""))

Explanation:

  • The env() function makes use of two arguments: the first argument specifies an environment variable, the second argument specifies a default value should the environment variable not exist.
  • Adding an empty default value - specified by two double quotes - as provided from the above example resolves the problem.
  • To apply changes deploy the job resource after modification.

...