Commit 67bf0318 authored by Brian Downs's avatar Brian Downs

update

parent 44e59e42
......@@ -992,7 +992,7 @@ func (e *ETCD) DeleteSnapshots(ctx context.Context, snapshots []string) error {
ctx, cancel := context.WithTimeout(ctx, defaultS3OpTimeout)
defer cancel()
go func(ctx context.Context) {
go func() {
opts := minio.ListObjectsOptions{
Recursive: true,
}
......@@ -1012,7 +1012,7 @@ func (e *ETCD) DeleteSnapshots(ctx context.Context, snapshots []string) error {
}
}
}
}(ctx)
}()
for {
select {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment