Skip to content

Commit

Permalink
Support for HTTP2 mode & updated SmartStack schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit864 committed Jan 8, 2025
1 parent 8ec1f6b commit ceb820d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions paasta_tools/cli/schemas/smartstack_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
"mode": {
"enum": [
"http",
"http2",
"https",
"tcp"
]
Expand Down
2 changes: 1 addition & 1 deletion paasta_tools/long_running_service_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_mode(self) -> str:
return None
else:
return "http"
elif mode in ["http", "tcp", "https"]:
elif mode in ["http", "http2", "tcp", "https"]:
return mode
else:
raise InvalidSmartstackMode("Unknown mode: %s" % mode)
Expand Down

0 comments on commit ceb820d

Please sign in to comment.