All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit fecc7ac2 authored by David Johnson's avatar David Johnson

More flexibly handle output from docker image history in clientside.

parent b4481cbd
# Copyright (c) 2017, 2018 University of Utah and the Flux Group.
# Copyright (c) 2017-2019 University of Utah and the Flux Group.
......@@ -306,12 +306,14 @@ if ($debug) {
# is a array of one array of hashes. Go figure...
my $histref;
if (defined($content) && ref($content) eq 'ARRAY') {
$histref = $content[0];
if (ref($histref) eq 'ARRAY') {
$histref = $histref->[0];
if (ref($content->[0]) eq 'ARRAY') {
$histref = $content->[0];
else {
$histref = $content;
if (defined($histref)) {
if (defined($histref) && ref($histref) eq 'ARRAY') {
foreach my $h (@{$histref}) {
if (!exists($h->{"Id"}) || !exists($h->{"Size"}));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment