Skip to content

Commit ae8f4f5

Browse files
authored
Fix attribute setting
1 parent f2a1c0e commit ae8f4f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ads/opctl/conda/cmds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ def _create(
176176

177177
os.makedirs(pack_folder_path, exist_ok=True)
178178

179-
manifest = _fetch_manifest_template()
179+
if not manifest:
180+
manifest = _fetch_manifest_template()
180181
if not "name" in manifest:
181182
manifest["manifest"]["name"] = name
182183
manifest["manifest"]["slug"] = slug

0 commit comments

Comments
 (0)