Changed location to locations in json files in topos
Change-Id: Iebe2ae9dfc7937e2199e4038488559c2fbc8014c
diff --git a/tools/test/topos/obeliskHostCheck.py b/tools/test/topos/obeliskHostCheck.py
index e928f89..988e2e5 100755
--- a/tools/test/topos/obeliskHostCheck.py
+++ b/tools/test/topos/obeliskHostCheck.py
@@ -60,7 +60,7 @@
mac = host.get( 'mac' )
assert mac, "mac field could not be found for this host object"
- location = host.get( 'location' )
+ location = host.get( 'locations' )[ 0 ] # Only looking for first interface
assert location, "location field could not be found for this host object"
# Trim the protocol identifier off deviceId