We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9efe093 + f013772 commit 506cc8cCopy full SHA for 506cc8c
1 file changed
ncx_self_provision/ncx_self_provision.py
@@ -5,7 +5,7 @@
5
6
# Validate router firmware
7
def validate_readiness():
8
- device_name = cp.get_device_name()
+ device_name = cp.get_name()
9
10
# Get static configuration data once
11
staging_group_id = cp.get_appdata('staging_group_id')
@@ -27,7 +27,7 @@ def get_router_data():
27
28
def get_device_firmware_id(product_id):
29
"""Helper function to get device firmware ID"""
30
- device_firmware = cp.get_device_firmware().split('-')[0]
+ device_firmware = cp.get_firmware_version().split('-')[0]
31
32
return n2.get_firmware_for_product_id_by_version(product_id=product_id, firmware_name=device_firmware)['id']
33
0 commit comments