fixed the fms upgrade issue

removed the  'invalid response code error'
This commit is contained in:
Shivam Thakur
2021-09-26 15:31:49 +05:30
committed by GitHub
parent b1da067dee
commit 27f2c74762

View File

@@ -203,9 +203,7 @@ class FMSUtils:
body=str(response.status_code) + "\n" +
str(response.json()) + "\n"
)
response = self.sdk_client.request(service="gw", command="device/" + serial + "upgrade/",
method="POST", params="revisionSet=true",
payload="{ \"serialNumber\" : " + serial + " , \"uri\" : " + url + " }")
print(response)
def ap_model_lookup(self, model=""):