generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request