Skip to content

Commit

Permalink
Add default source version for metadata migration
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Sep 9, 2024
1 parent 991d82b commit 3e8c9fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ public class MetadataArgs {
+ "forwarded. If no value is provided, metrics will not be forwarded.")
String otelCollectorEndpoint;

@Parameter(names = {"--source-version" }, description = "Version of the source cluster, for example: Elasticsearch 7.10 or OS 1.3", converter = VersionConverter.class)
public Version sourceVersion;
@Parameter(names = {"--source-version" }, description = "Version of the source cluster, for example: Elasticsearch 7.10 or OS 1.3. Defaults to: ES_7.10", converter = VersionConverter.class)
public Version sourceVersion = Version.fromString("ES 7.10");
}

0 comments on commit 3e8c9fa

Please sign in to comment.