Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
corverroos committed May 20, 2022
1 parent 19ef975 commit 1ea3739
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions testutil/compose/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ type keyGen string

const (
keyGenDKG keyGen = "dkg"
keyGenCreate keyGen = "create"
keyGenSplit keyGen = "split"
keyGenCreate keyGen = "create" //nolint:deadcode,varcheck
keyGenSplit keyGen = "split" //nolint:deadcode,varcheck
)

// config defines a local compose cluster; including both keygen and running a cluster.
Expand Down
2 changes: 1 addition & 1 deletion testutil/compose/define.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Define(ctx context.Context, dir string, clean bool, seed int) error {
return errors.Wrap(err, "yaml config")
}

err = os.WriteFile(path.Join(dir, composeFile), b, 0o755)
err = os.WriteFile(path.Join(dir, composeFile), b, 0o755) //nolint:gosec
if err != nil {
return errors.Wrap(err, "write config")
}
Expand Down

0 comments on commit 1ea3739

Please sign in to comment.