Skip to content

Commit a2c3357

Browse files
authored
chore: bump nix (#3500)
1 parent e048620 commit a2c3357

File tree

6 files changed

+46
-43
lines changed

6 files changed

+46
-43
lines changed

collector/benthos/output/openmeter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ func init() {
6868
err error,
6969
) {
7070
if maxInFlight, err = conf.FieldInt(maxInFlightField); err != nil {
71-
return
71+
return output, batchPolicy, maxInFlight, err
7272
}
7373

7474
if batchPolicy, err = conf.FieldBatchPolicy(batchingField); err != nil {
75-
return
75+
return output, batchPolicy, maxInFlight, err
7676
}
7777

7878
output, err = newOpenMeterOutput(conf, mgr)
7979

80-
return
80+
return output, batchPolicy, maxInFlight, err
8181
})
8282
if err != nil {
8383
panic(err)

collector/benthos/output/otel_log.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ func init() {
3535
err error,
3636
) {
3737
if maxInFlight, err = conf.FieldInt("max_in_flight"); err != nil {
38-
return
38+
return output, batchPolicy, maxInFlight, err
3939
}
4040

4141
if batchPolicy, err = conf.FieldBatchPolicy("batching"); err != nil {
42-
return
42+
return output, batchPolicy, maxInFlight, err
4343
}
4444

4545
output, err = newOtelLogOutput(conf)
4646

47-
return
47+
return output, batchPolicy, maxInFlight, err
4848
})
4949
if err != nil {
5050
panic(err)

flake.lock

Lines changed: 36 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openmeter/credit/grant/expiration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ func (ExpirationPeriodDuration) Values() (kinds []string) {
4949
} {
5050
kinds = append(kinds, string(s))
5151
}
52-
return
52+
return kinds
5353
}

openmeter/meter/meter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (MeterAggregation) Values() (kinds []string) {
3838
} {
3939
kinds = append(kinds, string(s))
4040
}
41-
return
41+
return kinds
4242
}
4343

4444
func (MeterAggregation) IsValid(input string) bool {
@@ -77,7 +77,7 @@ func (WindowSize) Values() (kinds []string) {
7777
} {
7878
kinds = append(kinds, string(s))
7979
}
80-
return
80+
return kinds
8181
}
8282

8383
func (w WindowSize) AddTo(t time.Time) (time.Time, error) {

openmeter/watermill/driver/kafka/saslscram.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (x *XDGSCRAMClient) Begin(userName, password, authzID string) (err error) {
3232

3333
func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) {
3434
response, err = x.ClientConversation.Step(challenge)
35-
return
35+
return response, err
3636
}
3737

3838
func (x *XDGSCRAMClient) Done() bool {

0 commit comments

Comments
 (0)