mirror of
https://github.com/openziti/zrok.git
synced 2024-11-25 09:33:43 +01:00
Merge pull request #752 from openziti/share_reserved_args
Fix Argument Handling in Reserved Sharing (#740)
This commit is contained in:
commit
991cd34b08
@ -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.
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user