Skip to content

Commit

Permalink
fix: add missing empty constructor on legacy command
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumelamirand committed Apr 3, 2024
1 parent b4735ba commit 40c58ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
public class HealthCheckCommand
extends CockpitCommand<NodeHealthCheckCommandPayload> {

public HealthCheckCommand() {
super(CockpitCommandType.HEALTHCHECK_COMMAND);
}

public HealthCheckCommand(final String commandId) {
super(CockpitCommandType.HEALTHCHECK_COMMAND);
this.id = commandId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

public class NodeCommand extends CockpitCommand<NodeCommandPayload> {

public NodeCommand() {
super(CockpitCommandType.NODE_COMMAND);
}

public NodeCommand(final String commandId) {
super(CockpitCommandType.NODE_COMMAND);
this.id = commandId;
Expand Down

0 comments on commit 40c58ae

Please sign in to comment.