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

Why are we passing pid_idx instead of pid to the backend? Lets be

consistent with image creation.
parent 1c189079
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2006, 2007, 2009 University of Utah and the Flux Group. # Copyright (c) 2006, 2007, 2009, 2010 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -100,7 +100,7 @@ class OSinfo ...@@ -100,7 +100,7 @@ class OSinfo
# Add these. Maybe caller should do this? # Add these. Maybe caller should do this?
$args["osname"] = $osname; $args["osname"] = $osname;
$args["project"] = $project->pid_idx(); $args["pid"] = $project->pid();
fwrite($fp, "<osid>\n"); fwrite($fp, "<osid>\n");
foreach ($args as $name => $value) { foreach ($args as $name => $value) {
......
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