Skip to content

Commit

Permalink
Merge pull request #752 from openziti/share_reserved_args
Browse files Browse the repository at this point in the history
Fix Argument Handling in Reserved Sharing (#740)
  • Loading branch information
michaelquigley authored Sep 17, 2024
2 parents c110f86 + 225bdee commit 991cd34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.4.41

FIX: Fixed crash when invoking `zrok share reserved` with no arguments (https://github.com/openziti/zrok/issues/740)

## v0.4.40

FEATURE: New endpoint for synchronizing grants for an account (https://github.com/openziti/zrok/pull/744). Useful for updating the `zrok.proxy.v1` config objects containing interstitial setting when the `skip_interstitial_grants` table has been updated.
Expand Down
1 change: 1 addition & 0 deletions cmd/zrok/shareReserved.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func newShareReservedCommand() *shareReservedCommand {
cmd := &cobra.Command{
Use: "reserved <shareToken>",
Short: "Start a backend for a reserved share",
Args: cobra.ExactArgs(1),
}
command := &shareReservedCommand{cmd: cmd}
cmd.Flags().StringVar(&command.overrideEndpoint, "override-endpoint", "", "Override the stored target endpoint with a replacement")
Expand Down

0 comments on commit 991cd34

Please sign in to comment.