Skip to content

Commit

Permalink
fix: Fix the type (#813)
Browse files Browse the repository at this point in the history
* fix: Fix the type

Signed-off-by: Ce Gao <gaoce@caicloud.io>

* fix: trigger CI

Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege authored and k8s-ci-robot committed Sep 26, 2019
1 parent 95d7d12 commit 9c768ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/suggestion/chocolate/v1alpha3/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
_ONE_DAY_IN_SECONDS = 60 * 60 * 24
DEFAULT_PORT = "0.0.0.0:6789"


def serve():
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
service = ChocolateService()
Expand All @@ -22,5 +23,6 @@ def serve():
except KeyboardInterrupt:
server.stop(0)


if __name__ == "__main__":
serve()
2 changes: 1 addition & 1 deletion examples/v1alpha3/hyperband-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- adam
- ftrl
- name: --num-epochs
parametertype: int
parameterType: int
feasibleSpace:
min: "20"
max: "20"
Expand Down

0 comments on commit 9c768ca

Please sign in to comment.