mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fix bug showing snapshots in oneimage show
This commit is contained in:
parent
e857f8f464
commit
0ae56398b7
@ -290,7 +290,7 @@ class OneImageHelper < OpenNebulaHelper::OneHelper
|
||||
puts str % [e, mask]
|
||||
}
|
||||
|
||||
if image.has_elements?("/IMAGE/SNAPSHOTS")
|
||||
if image.has_elements?("/IMAGE/SNAPSHOTS/SNAPSHOT")
|
||||
puts
|
||||
CLIHelper.print_header(str_h1 % "IMAGE SNAPSHOTS",false)
|
||||
format_snapshots(image)
|
||||
|
Loading…
x
Reference in New Issue
Block a user