mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
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:
commit
5bc6cfac2b
@ -17,7 +17,6 @@ limitations under the License.
|
|||||||
package framework
|
package framework
|
||||||
|
|
||||||
import (
|
import (
|
||||||
e2elog "k8s.io/kubernetes/test/e2e/framework/log"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"runtime"
|
"runtime"
|
||||||
"sync"
|
"sync"
|
||||||
@ -73,7 +72,7 @@ func RunCleanupActions() {
|
|||||||
}()
|
}()
|
||||||
// Run unlocked.
|
// Run unlocked.
|
||||||
for _, fn := range list {
|
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()
|
fn()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user