Merge pull request #106170 from kidlj/cleanup_e2e_framework_import_e2elog_package

test/e2e: cleanup e2e core framework's import from sub package e2elog
This commit is contained in:
Kubernetes Prow Robot 2021-11-12 13:38:29 -08:00 committed by GitHub
commit 5bc6cfac2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
}
}