mirror of
https://codeberg.org/crowci/crow.git
synced 2025-08-04 22:02:15 +03:00
@@ -213,7 +213,7 @@ func (e *kube) WaitStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||
|
||||
finished := make(chan bool)
|
||||
|
||||
podUpdated := func(old, new interface{}) {
|
||||
podUpdated := func(old, new any) {
|
||||
pod := new.(*v1.Pod)
|
||||
if pod.Name == podName {
|
||||
if isImagePullBackOffState(pod) {
|
||||
@@ -273,7 +273,7 @@ func (e *kube) TailStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||
|
||||
up := make(chan bool)
|
||||
|
||||
podUpdated := func(old, new interface{}) {
|
||||
podUpdated := func(old, new any) {
|
||||
pod := new.(*v1.Pod)
|
||||
if pod.Name == podName {
|
||||
switch pod.Status.Phase {
|
||||
|
Reference in New Issue
Block a user