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
195b5d18
Commit
195b5d18
authored
Oct 23, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change max_types violation to an unretryable error.
parent
04361374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
assign/assign.cc
assign/assign.cc
+8
-3
No files found.
assign/assign.cc
View file @
195b5d18
/*
* Copyright (c) 2000-201
0
University of Utah and the Flux Group.
* Copyright (c) 2000-201
7
University of Utah and the Flux Group.
*
* {{{EMULAB-LICENSE
*
...
...
@@ -588,7 +588,7 @@ int type_precheck(int round) {
}
if
(
ok
)
{
cout
<<
"Type precheck
passed.
"
<<
endl
;
cout
<<
"Type precheck
succeeded
"
<<
endl
;
return
1
;
}
else
{
cout
<<
"*** Type precheck failed!"
<<
endl
;
...
...
@@ -1319,7 +1319,12 @@ int main(int argc,char **argv) {
#endif
if
(
violated
!=
0
)
{
exit
(
EXIT_RETRYABLE
);
if
(
vinfo
.
max_types
)
{
exit
(
EXIT_UNRETRYABLE
);
}
else
{
exit
(
EXIT_RETRYABLE
);
}
}
else
{
exit
(
EXIT_SUCCESS
);
}
...
...
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