test/e2e: cleanup e2e core framework's import from sub package e2elog

This commit is contained in:
Jian Li
2021-11-05 16:28:57 +08:00
parent ed42bbd722
commit 2e4d7a5198

View File

@@ -17,7 +17,6 @@ limitations under the License.
package framework
import (
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
"reflect"
"runtime"
"sync"
@@ -73,7 +72,7 @@ func RunCleanupActions() {
}()
// Run unlocked.
for _, fn := range list {
e2elog.Logf("Running Cleanup Action: %v", runtime.FuncForPC(reflect.ValueOf(fn).Pointer()).Name())
Logf("Running Cleanup Action: %v", runtime.FuncForPC(reflect.ValueOf(fn).Pointer()).Name())
fn()
}
}