Skip to content

Commit

Permalink
fix fabric8io#3818: adding missing throws to launderThrowable
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins authored and manusa committed Feb 16, 2022
1 parent 0d25acd commit f792c92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#### Bugs
* Fix #3848: Supports Queue (cluster) API for Volcano extension
* Fix #3582: SSL truststore can be loaded in FIPS enabled environments
* Fix #3818: adding missing throws to launderThrowable

#### Improvements
* Fix #3811: Reintroduce `Replaceable` interface in `NonNamespaceOperation`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static void applyCommonConfiguration(Config config, HttpClient.Builder bu
}

} catch (Exception e) {
KubernetesClientException.launderThrowable(e);
throw KubernetesClientException.launderThrowable(e);
}
HttpClientUtils.createApplicableInterceptors(config, factory).forEach(builder::addOrReplaceInterceptor);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ private InputStream readFile(String source) {
out.flush();
out.close();
} catch (IOException e) {
KubernetesClientException.launderThrowable(e);
throw KubernetesClientException.launderThrowable(e);
}
}
).exec("sh", "-c", String.format("cat %s | base64", shellQuote(source)));
Expand Down Expand Up @@ -484,7 +484,7 @@ public InputStream readTar(String source) {
out.flush();
out.close();
} catch (IOException e) {
KubernetesClientException.launderThrowable(e);
throw KubernetesClientException.launderThrowable(e);
}
}
).exec("sh", "-c", "tar -cf - " + source + "|" + "base64");
Expand Down

0 comments on commit f792c92

Please sign in to comment.