containers / containers/fetchit
Configuration file gets corrupted when Git Repository is Unavailable
- Dominant language
- Go
- Stars
- 169
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
The configuration file (config.yaml) got overwritten with "500: Internal Server Error" due to GitHub, where the main configuration is stored, being unavailable when using the "configUrl" option.
```
sh-5.1# cat config.yaml
500: Internal Server Errorsh-5.1#
```
Manually updating the configuration file to valid syntax and restarting the container resolved the issue.
FetchIt should probably do some basic validation of configuration files it pulls using the "configUrl" to ensure it is valid syntax or that the remote Git repository did not throw an error when attempting to fetch the file.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.