Skip to content

Commit 03dc5b3

Browse files
committed
updated code that looks up price ids.
1 parent 3e0398d commit 03dc5b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SoftLayer/managers/hardware.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,8 +777,7 @@ def _get_os_price_id(items, os, location):
777777
'itemCategory',
778778
'categoryCode') != 'os',
779779
utils.lookup(item,
780-
'softwareDescription',
781-
'referenceCode') != os]):
780+
'keyName') != os]):
782781
continue
783782

784783
for price in item['prices']:

0 commit comments

Comments
 (0)