Skip to content

Commit f231f0d

Browse files
committed
fix: Fixed rest server port
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent 9785b9d commit f231f0d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sdk/python/feast/cli/serve.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,15 @@ def serve_registry_command(
232232
for p in servers:
233233
p.join()
234234
else:
235-
store.serve_registry(port, tls_key_path, tls_cert_path, rest_api)
235+
if grpc:
236+
store.serve_registry(port, tls_key_path, tls_cert_path)
237+
else:
238+
store.serve_registry(
239+
port=rest_port,
240+
tls_key_path=tls_key_path,
241+
tls_cert_path=tls_cert_path,
242+
rest_api=rest_api,
243+
)
236244

237245

238246
def _serve_grpc_registry(

0 commit comments

Comments
 (0)