Bug #12227
closedHammer reads local config file named config but should skip it because it isnt a directory
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1255086
Description of problem:
Hammer reads a set of config files at start. If in the local directory there is a file called "config" it tries to read it as a hammer config file. However, the hammer documentation stated it should only read config files from a local directory named config, if it is present.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. create local config file with random content
2. hammer shell
3.
Actual results:
error's because it cannot interpret the config file
Expected results:
normal hammer startup where config is ignored
Additional info:
Updated by Tomáš Strachota over 6 years ago
- Category set to Hammer core
- Difficulty set to trivial
Updated by Tomáš Strachota over 6 years ago
- Status changed from New to Closed
The issue has been fixed by:
https://github.com/theforeman/hammer-cli/commit/d5505366f252e1252c39fb3afb5d46a4bf7872c1