Skip to content

Commit

Permalink
silence findbugs error
Browse files Browse the repository at this point in the history
we should be fine if we get deserialized - how are we supposed to clean
up those procs in that case?
  • Loading branch information
Martin Sander authored and iocanel committed Aug 9, 2017
1 parent 8f58177 commit 1eb72f9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import java.util.logging.Logger;

import hudson.FilePath;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.fabric8.kubernetes.client.KubernetesClientTimeoutException;
import org.apache.commons.io.output.TeeOutputStream;

Expand Down Expand Up @@ -70,6 +71,8 @@ public class ContainerExecDecorator extends LauncherDecorator implements Seriali
private static final Logger LOGGER = Logger.getLogger(ContainerExecDecorator.class.getName());

private final transient KubernetesClient client;

@SuppressFBWarnings(value = "SE_TRANSIENT_FIELD_NOT_RESTORED", justification = "not needed on deserialization")
private final transient List<Closeable> closables = new ArrayList<>();
private final String podName;
private final String namespace;
Expand Down

0 comments on commit 1eb72f9

Please sign in to comment.