Commit 7d8aaad2 authored by Leigh Stoller's avatar Leigh Stoller

Pass through "global" if defined.

parent 599617bf
......@@ -674,6 +674,9 @@ sub CreateImage()
'imagename' => $imagename,
'credentials' => $credentials
};
$args->{'global'} = $options->{'global'}
if (defined($options) && exists($options->{'global'}));
my $response = GeniCMV2::CreateImage($args);
if (GeniResponse::IsError($response)) {
return $response;
......
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