Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iot): Add name generator for iot route create #1895

Merged
merged 3 commits into from
Apr 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USAGE:
scw iot route create [arg=value ...]

ARGS:
[name] Route name
[name=<generated>] Route name
[hub-id] ID of the route's hub
[topic] Topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters
[s3-config.bucket-region]
Expand Down
1 change: 1 addition & 0 deletions internal/namespaces/iot/v1/iot_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ func iotRouteCreate() *core.Command {
Required: false,
Deprecated: false,
Positional: false,
Default: core.RandomValueGenerator("route"),
},
{
Name: "hub-id",
Expand Down