Commit 6fa55522 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Bugfix: ptopgen should print 'expires' not 'valid_until' for rspecv2

parent b86b739c
......@@ -1698,7 +1698,12 @@ sub print_header {
printf("generated=\"%04d-%02d-%02dT%02d:%02d:%02dZ\" ",
$times[5] + 1900, $times[4] + 1, $times[3],
$times[2], $times[1], $times[0]);
printf("valid_until=\"%04d-%02d-%02dT%02d:%02d:%02dZ\" ",
if ($genimode eq $V_2) {
print "expires=";
} else {
print "valid_until=";
}
printf("\"%04d-%02d-%02dT%02d:%02d:%02dZ\" ",
$times[5] + 1900, $times[4] + 1, $times[3],
$times[2], $times[1], $times[0]);
print ">\n";
......
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