Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
internal/config: Fix config.Validate() var returns
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Jul 29, 2022
1 parent 68bd297 commit 3f68172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestConfigValidatePipelines(t *testing.T) {
cfg, err := Load(filepath.Join("testdata", "pipelines", tt.File), nil)
require.NoError(err)

err = cfg.Validate()
_, err = cfg.Validate()
if tt.Err == "" {
require.NoError(err)
return
Expand Down

0 comments on commit 3f68172

Please sign in to comment.