Skip to content

Commit

Permalink
node: fix deployment parsing in graphman index create
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyasmohd committed Jan 13, 2025
1 parent 9fdfdca commit 9fc23b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/src/bin/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ pub enum IndexCommand {
Create {
/// The deployment (see `help info`).
#[clap(value_parser = clap::builder::NonEmptyStringValueParser::new())]
deployment: DeploymentSearch,
deployment: String,
/// The Entity name.
///
/// Can be expressed either in upper camel case (as its GraphQL definition) or in snake case
Expand Down Expand Up @@ -1529,6 +1529,7 @@ async fn main() -> anyhow::Result<()> {
method,
after,
} => {
let deployment = DeploymentSearch::from_str(&deployment)?;
commands::index::create(
subgraph_store,
primary_pool,
Expand Down

0 comments on commit 9fc23b5

Please sign in to comment.