File tree 1 file changed +3
-3
lines changed
src/aleph_client/commands
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ async def list_programs(
458
458
"HyperV: [magenta3]Firecracker[/magenta3]\n " ,
459
459
f"Timeout: [orange3]{ message .content .resources .seconds } s[/orange3]\n " ,
460
460
f"Persistent: { '[green]Yes[/green]' if message .content .on .persistent else '[red]No[/red]' } \n " ,
461
- f"Updatable: { '[green]Yes[/green]' if message .content .allow_amend else '[red]No[/red ]' } " ,
461
+ f"Updatable: { '[green]Yes[/green]' if message .content .allow_amend else '[orange3]Code only[/orange3 ]' } " ,
462
462
]
463
463
specifications = Text .from_markup ("" .join (specs ))
464
464
volumes = ""
@@ -511,7 +511,7 @@ async def persist(
511
511
verbose : bool = True ,
512
512
debug : bool = False ,
513
513
) -> Optional [str ]:
514
- """Recreate a non-persistent program as persistent (item hash will change)"""
514
+ """Recreate a non-persistent program as persistent (item hash will change). The program must be updatable and you must be the owner """
515
515
516
516
setup_logging (debug )
517
517
@@ -603,7 +603,7 @@ async def unpersist(
603
603
verbose : bool = True ,
604
604
debug : bool = False ,
605
605
) -> Optional [str ]:
606
- """Recreate a persistent program as non-persistent (item hash will change)"""
606
+ """Recreate a persistent program as non-persistent (item hash will change). The program must be updatable and you must be the owner """
607
607
608
608
setup_logging (debug )
609
609
You can’t perform that action at this time.
0 commit comments