-
Notifications
You must be signed in to change notification settings - Fork 64
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
Added fix for 704 #727
Added fix for 704 #727
Conversation
Hi |
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.
@bhagyashree-sarawate Code changes looks good to me. Could you please attach the tests for this where I can see the expected results in docker volume inspect command.
hpedockerplugin/volume_manager.py
Outdated
diff_hour = diff.seconds / 3600 | ||
return diff_hour | ||
diff_hour = diff.total_seconds() / 3600 | ||
return round(diff_hour) |
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.
Why this round?
PFA output for the bug 704 which include import and inspect of a snapshot |
Fix for #704