Remove unreachable error

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

@ -717,9 +717,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