Skip to content

Commit

Permalink
fix: error formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
scortier committed Oct 4, 2021
1 parent 3dee4f1 commit df786b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agent/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/odpf/meteor/models"
)

// batch
// batch contains the configuration for a batch
type batch struct {
data []models.Record
capacity int
Expand Down
2 changes: 1 addition & 1 deletion generator/recipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Recipe(name string, source string, sinks []string, processors []string) (er
if err != nil {
return errors.Wrap(err, "failed to provide extractor information")
}
tem.Source[source] = indent.String(sourceInfo.SampleConfig, size)
tem.Sinks[source] = sourceInfo.SampleConfig
}
if len(sinks) > 0 {
tem.Sinks = make(map[string]string)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ require (
github.com/mcuadros/go-defaults v1.2.0
github.com/mitchellh/mapstructure v1.4.1
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/muesli/reflow v0.3.0
github.com/muesli/reflow v0.3.0 // indirect
github.com/odpf/salt v0.0.0-20210919015538-3fd8ab22acea
github.com/opencontainers/runc v1.0.1 // indirect
github.com/ory/dockertest/v3 v3.7.0
Expand Down

0 comments on commit df786b7

Please sign in to comment.