Skip to content

Commit

Permalink
fix: add none check for env for deploy
Browse files Browse the repository at this point in the history
Signed-off-by: FogDong <[email protected]>
  • Loading branch information
FogDong committed Jun 12, 2024
1 parent 28e46c1 commit c4e91fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/cloud/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def verify(
("bento", self.bento),
("cluster", self.cluster),
("access_authorization", self.access_authorization),
("envs", self.envs if len(self.envs) > 0 else None),
("envs", self.envs if self.envs else None),
]
if v is not None
}
Expand Down

0 comments on commit c4e91fb

Please sign in to comment.