-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pep8 and UT issues #79
Conversation
@r0h4n @nthomas-redhat @shtripat Please review |
Changes Unknown when pulling e46363b on nnDarshan:FixPep8 into ** on Tendrl:master**. |
from tendrl.commons.persistence.etcd_persister import EtcdPersister | ||
|
||
config = load_config( | ||
"gluster-integration", | ||
"/etc/tendrl/tendrl.conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might not work. tendrl.conf is gone and you will have module specific files. Also this function expected to load yaml files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 @nnDarshan , this is a yaml loader, ensure you pass a yaml file path here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And replace gluster with ceph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Changes Unknown when pulling daf53a5 on nnDarshan:FixPep8 into ** on Tendrl:master**. |
Changes Unknown when pulling bd2c79c on nnDarshan:FixPep8 into ** on Tendrl:master**. |
config = TendrlConfig() | ||
config = load_config( | ||
"ceph-integration", | ||
"/etc/tendrl/ceph-integration/ceph-integration.conf.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are following the naming as ceph-integration.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
tendrl-bug-id: Tendrl#62 Signed-off-by: nnDarshan <[email protected]>
Changes Unknown when pulling 0faaa46 on nnDarshan:FixPep8 into ** on Tendrl:master**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please update this PR |
tendrl-bug-id: #62
Signed-off-by: nnDarshan [email protected]