You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a deployment, the provider logs strange error messages such as:
2021-12-21T14:18:50+0100 info de.apodini.IoTDeployment : Running action createDeploymentDir
-bash: line 1: cd: /usr/deployment: No such file or directory
-bash: line 1: : command not found
Directory at /usr/deployment created.
While they do not affect the deployment itself, they are distracting and can be misleading for inexperienced users.
Solution
The code sample above seems to be related to this method.
To silence these error messages, refactor this and related methods by either rewriting the checks (e.g. if a directory exists) and preventing the logging.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
Problem
When running a deployment, the provider logs strange error messages such as:
While they do not affect the deployment itself, they are distracting and can be misleading for inexperienced users.
Solution
The code sample above seems to be related to this method.
To silence these error messages, refactor this and related methods by either rewriting the checks (e.g. if a directory exists) and preventing the logging.
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: