Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
23e4ff56
Commit
23e4ff56
authored
Mar 10, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweak to webtask cursize handling.
parent
28614faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
utils/create_image.in
utils/create_image.in
+3
-3
No files found.
utils/create_image.in
View file @
23e4ff56
...
...
@@ -1556,6 +1556,9 @@ sub check_progress($$)
$cursize
=
0
;
}
}
if
(
defined
(
$webtask
))
{
$webtask
->
imagesize
(
$cursize
/
1024
);
}
if
(
$cursize
>
$maximagesize
)
{
$result
=
"
toobig
";
print
"
$node_id
: image capture has completed: image too big
\n
";
...
...
@@ -1579,9 +1582,6 @@ sub check_progress($$)
"
it has been
"
.
$curtdiff
.
"
minutes.
"
.
"
Current image size:
$cursize
bytes.
\n
";
}
if
(
defined
(
$webtask
))
{
$webtask
->
imagesize
(
$cursize
/
1024
);
}
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment