Commit 90e81569 authored by Brian Downs's avatar Brian Downs

err func call

parent 4c22ed1f
......@@ -1017,7 +1017,7 @@ func (e *ETCD) DeleteSnapshots(ctx context.Context, snapshots []string) error {
for {
select {
case <-ctx.Done():
logrus.Errorf("Unable to delete snapshot: %v", ctx.Err)
logrus.Errorf("Unable to delete snapshot: %v", ctx.Err())
return e.StoreSnapshotData(ctx)
case <-time.After(time.Millisecond * 100):
continue
......
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