Class: HammerCLIKatello::DockerManifestCommand::InfoCommand

Inherits:
InfoCommand
  • Object
show all
Defined in:
lib/hammer_cli_katello/docker_manifest.rb

Instance Method Summary collapse

Methods included from ResolverCommons

included

Instance Method Details

#extend_data(manifest) ⇒ Object



43
44
45
46
# File 'lib/hammer_cli_katello/docker_manifest.rb', line 43

def extend_data(manifest)
  manifest['_tags'] = manifest['tags'].map { |e| { name: e["name"] } }.join(", ")
  manifest
end