mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29:21 +00:00
Apply go fix -any ./...
This commit is contained in:
1 parent
d4088aa09b
commit
32e9869cc8
63 files changed
+197
-197
No files matched your search
@@ -28,7 +28,7 @@ type commandReader struct {
|
||||
alreadyClosedReadErr error
|
||||
}
|
||||
|
||||
func NewCommandReader(ctx context.Context, args []string, errorOutput func(msg string, args ...interface{})) (io.ReadCloser, error) {
|
||||
func NewCommandReader(ctx context.Context, args []string, errorOutput func(msg string, args ...any)) (io.ReadCloser, error) {
|
||||
if len(args) == 0 {
|
||||
return nil, fmt.Errorf("no command was specified as argument")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user