Skip to content

Commit

Permalink
Update cmd arg constant for --bytes-per-event
Browse files Browse the repository at this point in the history
Signed-off-by: wslulciuc <[email protected]>
  • Loading branch information
wslulciuc committed Aug 26, 2022
1 parent 1142b50 commit f0f65cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/main/java/marquez/cli/MetadataCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public final class MetadataCommand extends Command {

/* Args for metadata command. */
private static final String CMD_ARG_METADATA_RUNS = "runs";
private static final String CMD_ARG_METADATA_BYTES = "bytes-per-event";
private static final String CMD_ARG_METADATA_BYTES_PER_EVENT = "bytes-per-event";
private static final String CMD_ARG_METADATA_OUTPUT = "output";

/* Used for event randomization. */
Expand Down Expand Up @@ -124,7 +124,7 @@ public void configure(@NonNull Subparser subparser) {
@Override
public void run(@NonNull Bootstrap<?> bootstrap, @NonNull Namespace namespace) {
final int runs = namespace.getInt(CMD_ARG_METADATA_RUNS);
final int bytesPerEvent = namespace.getInt(CMD_ARG_METADATA_BYTES);
final int bytesPerEvent = namespace.getInt(CMD_ARG_METADATA_BYTES_PER_EVENT);
final String output = namespace.getString(CMD_ARG_METADATA_OUTPUT);

// Generate, then write events to metadata file.
Expand Down

0 comments on commit f0f65cf

Please sign in to comment.