Skip to content

Commit

Permalink
fix: podman health
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Dec 8, 2022
1 parent 970c5b2 commit c516807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/container/podman.py
Expand Up @@ -41,7 +41,7 @@ def health() -> bool:
.strip("\n&#34;") # strip quotation marks from JSON format.
.lower()
)
return output == "running"
return output == '"running"'


def parse_dict_opt(d: dict[str, str]) -> str:
Expand Down
2 changes: 2 additions & 0 deletions src/bentoml/_internal/server/grpc/servicer/v1/__init__.py
Expand Up @@ -7,6 +7,7 @@
from typing import TYPE_CHECKING

import anyio

from .....utils import LazyLoader
from ......exceptions import InvalidArgument
from ......exceptions import BentoMLException
Expand All @@ -22,6 +23,7 @@

import grpc
from google.protobuf import struct_pb2

from ......grpc.v1 import service_pb2 as pb
from ......grpc.v1 import service_pb2_grpc as services
from ......grpc.types import BentoServicerContext
Expand Down

0 comments on commit c516807

Please sign in to comment.