Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
5c6326dd
Commit
5c6326dd
authored
Sep 03, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix, get rid of auditing email.
parent
f33a3fff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
protogeni/scripts/postimagedata.in
protogeni/scripts/postimagedata.in
+4
-8
No files found.
protogeni/scripts/postimagedata.in
View file @
5c6326dd
...
...
@@ -81,7 +81,6 @@ $| = 1;
# Now we can load the libraries after setting the proper DB.
use
lib
'
@prefix@/lib
';
use
libaudit
;
use
emutil
;
use
GeniDB
;
use
EmulabConstants
;
...
...
@@ -140,10 +139,6 @@ if ($ARGV[0] eq "all") {
sleep
(
2
);
}
# Record output in case of error.
LogStart
(
0
)
if
(
!
$debug
);
# Connect to the proper DB.
DBConnect
(
GENICM_DBNAME
());
...
...
@@ -221,9 +216,6 @@ else {
}
}
}
# No errors at this point, nothing to report.
AuditAbort
()
if
(
!
$debug
&&
!
$errors
);
exit
(
$errors
);
sub
PostImageInfo
($)
...
...
@@ -306,6 +298,10 @@ sub PostImageInfo($)
$project_urn
=
GeniHRN::
Generate
(
$OURDOMAIN
.
"
:
"
.
$image
->
pid
(),
"
authority
",
"
sa
");
}
if
(
!
defined
(
$project_urn
))
{
print
STDERR
"
Could not form a project_urn for
$image
. Skipping ...
\n
";
return
0
;
}
my
$isversioned
=
(
$WITHPROVENANCE
&&
EmulabFeatures
->
FeatureEnabled
("
ImageProvenance
",
...
...
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