Commit ad32b9a0 authored by Gary Wong's avatar Gary Wong

Fix request rspec adb_target element parsing.

parent 4cff2ee5
...@@ -1434,7 +1434,17 @@ sub GetADBTarget($) ...@@ -1434,7 +1434,17 @@ sub GetADBTarget($)
{ {
my ($node) = @_; my ($node) = @_;
return GetText( "adb_target", $node ); my $target = GetText( "adb_target", $node );
return $target
if( defined( $target ) );
my $node = FindNodesNS( "n:adb_target", $node, $EMULAB_NS )->pop();
return $node->getAttribute( "target_id" )
if( defined( $node ) );
return undef;
} }
sub GetProfileParameters($) sub GetProfileParameters($)
......
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