From 688e97e2cc600e1778098002ecab2fabe1797317 Mon Sep 17 00:00:00 2001 From: Praneet Solanki Date: Wed, 27 Mar 2019 18:02:41 -0400 Subject: [PATCH] Update 34-GetScoringImageName.py --- aml_service/34-GetScoringImageName.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aml_service/34-GetScoringImageName.py b/aml_service/34-GetScoringImageName.py index 765c606..b5f3a76 100644 --- a/aml_service/34-GetScoringImageName.py +++ b/aml_service/34-GetScoringImageName.py @@ -39,6 +39,6 @@ name, version = latest_image.get(list(latest_image)[0]).id.split(':') # Writing the image details to /aml_config/image.json image_json = {} image_json["image_name"] = name -image_json["image_version"] = version +image_json["image_version"] = int(version) with open("aml_config/image.json", "w") as outfile: json.dump(image_json, outfile)