File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ async def pull_chart(
9898 devel : bool = False ,
9999 repo : t .Optional [str ] = None ,
100100 version : t .Optional [str ] = None
101- ) -> contextlib . AbstractAsyncContextManager [pathlib .Path ]:
101+ ) -> t . AsyncIterator [pathlib .Path ]:
102102 """
103103 Context manager that pulls the specified chart and yields a chart object
104104 whose ref is the unpacked chart directory.
@@ -323,7 +323,7 @@ async def should_install_or_upgrade_release(
323323 if revision_chart .version != chart .metadata .version :
324324 return True
325325 # If the values have changed from the deployed release, we should redeploy
326- revision_values = ( await current_revision .values ()) or {}
326+ revision_values = await current_revision .values ()
327327 if revision_values != values :
328328 return True
329329 # If the chart and values are the same, there is nothing to do
Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ async def get_values(
474474 command .extend (["--revision" , revision ])
475475 if namespace :
476476 command .extend (["--namespace" , namespace ])
477- return json .loads (await self .run (command ))
477+ return json .loads (await self .run (command )) or {}
478478
479479 async def history (
480480 self ,
You can’t perform that action at this time.
0 commit comments