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

cli handler_groups type error? #383

Closed
karantin2020 opened this issue Feb 24, 2017 · 1 comment
Closed

cli handler_groups type error? #383

karantin2020 opened this issue Feb 24, 2017 · 1 comment
Labels
bug Something is not working.

Comments

@karantin2020
Copy link

in hydra/cmd/cli/handler_groups.go
func (h *GroupHandler) CreateGroup(cmd *cobra.Command, args []string) and func (h *GroupHandler) DeleteGroup(cmd *cobra.Command, args []string) both have one code:

	err = h.M.CreateGroup(cc)
	if h.M.Dry {
		fmt.Printf("%s\n", err)
		return
	}

        pkg.Must(err, "Could not create group: %s", err)

See

err = h.M.CreateGroup(cc)

and
err = h.M.CreateGroup(cc)

Is that write?

@aeneasr aeneasr added the bug Something is not working. label Feb 24, 2017
@aeneasr
Copy link
Member

aeneasr commented Feb 24, 2017

No, it's a bug. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

2 participants