Skip to content

Commit ec9c0fb

Browse files
committed
renamed internal variable and fixed error message
1 parent 10b9701 commit ec9c0fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adk/manifest/modeldata.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
class ModelData(object):
88
def __init__(self, client, model_manifest_path):
9-
self.manifest_lock_path = model_manifest_path
10-
self.manifest_data = get_manifest(self.manifest_lock_path)
9+
self.manifest_freeze_path = model_manifest_path
10+
self.manifest_data = get_manifest(self.manifest_freeze_path)
1111
self.client = client
1212
self.models = {}
1313
self.user_data = {}
@@ -74,8 +74,8 @@ def get_manifest(manifest_path):
7474
del manifest_data['lock_checksum']
7575
detected_lock_checksum = md5_for_str(str(manifest_data))
7676
if expected_lock_checksum != detected_lock_checksum:
77-
raise Exception("Manifest Lockfile Tamper Detected; please use the CLI and 'algo compile' to rebuild your "
78-
"algorithm's lock file.")
77+
raise Exception("Manifest FreezeFile Tamper Detected; please use the CLI and 'algo freeze' to rebuild your "
78+
"algorithm's freeze file.")
7979
return manifest_data
8080
else:
8181
return None

0 commit comments

Comments
 (0)