Skip to content

Commit

Permalink
fix minor reference error in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JayZ12138 committed Mar 14, 2019
1 parent d2b16c9 commit d61a676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ name to `get_loader().load()`
```python
from ubiconfig import get_loader

config = get_loader().load('enterprise-linux-server-x86_64')
config = get_loader().load('enterprise-linux-server-x86_64.yaml')
# config has been validated and is now a Python object with relevant properties
package_whitelist = config.packages.whitelist
print(package_whitelist)
Expand All @@ -50,7 +50,7 @@ Or, user can also load the config from local file:
```python
from ubiconfig import get_loader

config = get_loader(local=True).load('/path/to/enterprise-linux-server-x86_64.yaml')
config = get_loader("/my/config/dir").load('enterprise-linux-server-x86_64.yaml')
```

License
Expand Down

0 comments on commit d61a676

Please sign in to comment.