Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon committed Sep 21, 2023
1 parent c05ba79 commit 452e2fa
Showing 1 changed file with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ public <T> T responseAs(final Class<T> responseClass, final Duration timeout) {

LOGGER.debug(
"ResponseAs exiting with exitCode: {}%n\tResponseClass: {}%n\tstandardOutput: {}%n\tstandardError: {}",
exitCode(),
responseClass.getName(),
standardOutput,
standardError);
exitCode(), responseClass.getName(), standardOutput, standardError);

try {
return OBJECT_MAPPER.readValue(standardOutput, responseClass);
Expand Down Expand Up @@ -293,10 +290,7 @@ public <T> List<T> responseAsList(final Class<T> responseClass, final Duration t

LOGGER.debug(
"ResponseAsList exiting with exitCode: {}%n\tResponseClass: {}%n\tstandardOutput: {}%n\tstandardError: {}",
exitCode(),
responseClass.getName(),
standardOutput,
standardError);
exitCode(), responseClass.getName(), standardOutput, standardError);

try {
return OBJECT_MAPPER
Expand Down Expand Up @@ -347,16 +341,12 @@ public void call(final Duration timeout) {

LOGGER.debug(
"Call exiting with exitCode: {}%n\tstandardOutput: {}%n\tstandardError: {}",
exitCode(),
standardOutput,
standardError);
exitCode(), standardOutput, standardError);

if (exitCode() != 0) {
LOGGER.warn(
"Call failed with exitCode: {}%n\tstandardOutput: {}%n\tstandardError: {}",
exitCode(),
standardOutput,
standardError);
exitCode(), standardOutput, standardError);

throw new HelmExecutionException(exitCode(), standardError, standardOutput);
}
Expand Down

0 comments on commit 452e2fa

Please sign in to comment.