Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Clement Escoffier <clement.escoffier@gmail.com>
  • Loading branch information
iocanel and cescoffier committed Feb 9, 2023
1 parent efa7920 commit 16226b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import io.quarkus.builder.item.SimpleBuildItem;

/**
* A build item for selecting which port is going
* A build item for selecting which port to use for probes using an {@literal HTTP get} action.
*/
public class KubernetesProbePortNameBuildItem extends SimpleBuildItem {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
public class ProbeConfig {

/**
* The port number to use when configuring the http get.
* If not configured the port that corresponds to the `httpActionPortName` will be used.
* The port number to use when configuring the {@literal http get} action.
* If not configured, the port corresponding to the {@code httpActionPortName} will be used.
*/
@ConfigItem
Optional<Integer> httpActionPort;

/**
* The port name ot use for selecting the port to congiure for the http get.
* The port name for selecting the port of the {@literal HTTP get} action.
*/
@ConfigItem
Optional<String> httpActionPortName;
Expand Down

0 comments on commit 16226b7

Please sign in to comment.