1
0
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:
Javi Fontan 2017-07-06 17:23:57 +02:00
parent e857f8f464
commit 0ae56398b7

View File

@ -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)