mirror of
https://codeberg.org/crowci/crow.git
synced 2025-08-09 07:42:52 +03:00
Fix linter (#3354)
This commit is contained in:
@@ -230,7 +230,7 @@ func (e *kube) WaitStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||
|
||||
finished := make(chan bool)
|
||||
|
||||
podUpdated := func(old, new any) {
|
||||
podUpdated := func(_, new any) {
|
||||
pod, ok := new.(*v1.Pod)
|
||||
if !ok {
|
||||
log.Error().Msgf("could not parse pod: %v", new)
|
||||
@@ -307,7 +307,7 @@ func (e *kube) TailStep(ctx context.Context, step *types.Step, taskUUID string)
|
||||
|
||||
up := make(chan bool)
|
||||
|
||||
podUpdated := func(old, new any) {
|
||||
podUpdated := func(_, new any) {
|
||||
pod, ok := new.(*v1.Pod)
|
||||
if !ok {
|
||||
log.Error().Msgf("could not parse pod: %v", new)
|
||||
|
Reference in New Issue
Block a user