Remove unreachable error

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/30698/head
Benoit Tigeot 6 months ago
parent 0ccae497aa
commit 7d1cdfd317
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -719,9 +719,6 @@ func copyRequestStreamToWriter(request *rest.Request, podName, containerName str
if err != nil {
return errors.Errorf("Failed to copy IO from logs for pod: %s, container: %s", podName, containerName)
}
if err != nil {
return errors.Errorf("Failed to close reader for pod: %s, container: %s", podName, containerName)
}
return nil
}

Loading…
Cancel
Save