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

Add initial local auth implementation #3

Merged
merged 17 commits into from
Mar 10, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix lint
Signed-off-by: Saswata Mukherjee <[email protected]>
  • Loading branch information
saswatamcode committed Mar 1, 2022
commit 25eea28433157c23797c5c12519f016848266590
5 changes: 4 additions & 1 deletion pkg/cmd/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ func NewMetricsGetCmd(ctx context.Context) *cobra.Command {
},
}
labelValuesCmd.Flags().StringVar(&labelName, "name", "", "Name of the label to fetch values for.")
labelValuesCmd.MarkFlagRequired("name")
err := labelValuesCmd.MarkFlagRequired("name")
if err != nil {
panic(err)
}

rulesCmd := &cobra.Command{
Use: "rules",
Expand Down