Skip to content

Commit

Permalink
Updated CLI Plugin to execute within a container.
Browse files Browse the repository at this point in the history
Added CLI Plugin to data connector image.
  • Loading branch information
kenstott committed Aug 23, 2024
1 parent d42cdcf commit 09a572f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/calcite-schema/src/version5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl ParsedConfiguration {
version: Version::This,
_schema: Some(CONFIGURATION_JSONSCHEMA_FILENAME.to_string()),
model: None,
model_file_path: Some("./models/model.json".to_string()),
model_file_path: Some("/etc/connector/models/model.json".to_string()),
fixes: Some(true),
supports_json_object: None,
jars: None,
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async fn initialize(with_metadata: bool, context: &Context<impl Environment>) ->
supported_environment_variables: vec![metadata::EnvironmentVariableDefinition {
name: "MODEL_FILE".to_string(),
description: "The calcite connection mode file path".to_string(),
default_value: Some("./models/model.json".to_string()),
default_value: Some("/etc/connector/models/model.json".to_string()),
}],
commands: metadata::Commands {
update: Some(update_command.to_string()),
Expand Down

0 comments on commit 09a572f

Please sign in to comment.