all: fix minor issues found by staticcheck
Signed-off-by: Moritz Poldrack <git@moritz.sh>
This commit is contained in:
parent
65ae87a524
commit
4bc43d2741
11 changed files with 17 additions and 27 deletions
commands/compose
|
@ -189,7 +189,7 @@ func newSendmailSender(ctx sendCtx) (io.WriteCloser, error) {
|
|||
return nil, fmt.Errorf("no command specified")
|
||||
}
|
||||
bin := args[0]
|
||||
rs := make([]string, len(ctx.rcpts), len(ctx.rcpts))
|
||||
rs := make([]string, len(ctx.rcpts))
|
||||
for i := range ctx.rcpts {
|
||||
rs[i] = ctx.rcpts[i].Address
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue