Skip to content

Commit

Permalink
fix typo (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeylanzman committed Sep 20, 2022
1 parent fa7ec3d commit 498fa80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/provider_cmd_honeycombio.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func newCmdHoneycombioImporter(options ImportOptions) *cobra.Command {
Short: "Import current state to Terraform configuration from Honeycomb.io",
Long: "Import current state to Terraform configuration from Honeycomb.io",
RunE: func(cmd *cobra.Command, args []string) error {
provider := newHoneycombProvider()
provider := newHoneycombioProvider()
err := Import(provider, options, options.Projects)
if err != nil {
return err
Expand All @@ -35,13 +35,13 @@ func newCmdHoneycombioImporter(options ImportOptions) *cobra.Command {
},
}

cmd.AddCommand(listCmd(newHoneycombProvider()))
cmd.AddCommand(listCmd(newHoneycombioProvider()))
baseProviderFlags(cmd.PersistentFlags(), &options, "derived_column,board", "board=id1,id2")
cmd.PersistentFlags().StringSliceVarP(&options.Projects, "datasets", "", []string{}, "hello-service,goodbye-service")

return cmd
}

func newHoneycombProvider() terraformutils.ProviderGenerator {
func newHoneycombioProvider() terraformutils.ProviderGenerator {
return &honeycombio_terraforming.HoneycombProvider{}
}
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func providerGenerators() map[string]func() terraformutils.ProviderGenerator {
newDataDogProvider,
newNewRelicProvider,
newPagerDutyProvider,
newHoneycombProvider,
newHoneycombioProvider,
// Community
newKeycloakProvider,
newLogzioProvider,
Expand Down

0 comments on commit 498fa80

Please sign in to comment.