Commit 220e2748 authored by Gary Wong's avatar Gary Wong

Fix type error in commit 1aa4572f.

(I like static typing.)
parent c7b773fb
......@@ -1553,7 +1553,7 @@ sub Credential2SliceAggregate($)
$slice = GeniSlice->Lookup($target_uuid);
}
if (defined($slice)) {
if( $credential->expires() > $slice->expires() ) {
if( $credential->expires() gt $slice->expires() ) {
# The credential presented lasts longer than we though the
# slice did: our expiry date must have been stale. This can
# happen because the SA is always free to extend the lifetime
......
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