util: use local ErrorLog() for OperationLock.release() instead of klog

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-08-07 09:41:57 +02:00 committed by mergify[bot]
parent fb56a7595a
commit bf02227207

View File

@ -18,7 +18,6 @@ import (
"sync"
"k8s.io/apimachinery/pkg/util/sets"
klog "k8s.io/klog/v2"
)
const (
@ -254,6 +253,6 @@ func (ol *OperationLock) release(op operation, volumeID string) {
}
}
default:
klog.Errorf("%v operation not supported", op)
ErrorLog("%v operation not supported", op)
}
}