Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

nnDarshan
Copy link

tendrl-bug-id: #62
Signed-off-by: nnDarshan [email protected]

@nnDarshan
Copy link
Author

@r0h4n @nthomas-redhat @shtripat Please review

@coveralls
Copy link

Coverage Status

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"

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

Copy link

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

Copy link

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling daf53a5 on nnDarshan:FixPep8 into ** on Tendrl:master**.

@coveralls
Copy link

Coverage Status

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"
Copy link
Member

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0faaa46 on nnDarshan:FixPep8 into ** on Tendrl:master**.

Copy link
Member

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@r0h4n
Copy link

r0h4n commented Feb 3, 2017

Please update this PR

@r0h4n r0h4n closed this Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants