Commit fc8e73cf authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Delete any cached credentials for the slice.

parent 6b2c3fe9
......@@ -48,6 +48,7 @@ use GeniUtil;
use GeniCM;
use Genixmlrpc;
use GeniCertificate;
use GeniCredential;
#
# We don't want to run this script unless its the real version.
......@@ -156,6 +157,9 @@ sub DoSA()
# Needs to move.
GeniRegistry::ClientSliver->SliceDelete($slice);
# Remove any stored credentials for this slice.
GeniCredential->DeleteForTarget($slice);
if ($slice->Delete()) {
fatal("Could not delete $slice from slice authority DB!");
}
......
Supports Markdown
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