Skip to content

Commit

Permalink
Remove 'empty string' check from Kafka configuration
Browse files Browse the repository at this point in the history
Signed-off-by: arushir <arushir@vmware.com>
  • Loading branch information
arushir committed Jul 25, 2023
1 parent 3a7a182 commit 106ce9e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,7 @@ kafka_configure_from_environment_variables() {
done

value="${!var}"
if [[ -n "$value" ]]; then
kafka_server_conf_set "$key" "$value"
fi
kafka_server_conf_set "$key" "$value"
done
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,7 @@ kafka_configure_from_environment_variables() {
done

value="${!var}"
if [[ -n "$value" ]]; then
kafka_server_conf_set "$key" "$value"
fi
kafka_server_conf_set "$key" "$value"
done
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,7 @@ kafka_configure_from_environment_variables() {
done

value="${!var}"
if [[ -n "$value" ]]; then
kafka_server_conf_set "$key" "$value"
fi
kafka_server_conf_set "$key" "$value"
done
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,7 @@ kafka_configure_from_environment_variables() {
done

value="${!var}"
if [[ -n "$value" ]]; then
kafka_server_conf_set "$key" "$value"
fi
kafka_server_conf_set "$key" "$value"
done
}

Expand Down

0 comments on commit 106ce9e

Please sign in to comment.