Skip to content

Commit 9acdfe0

Browse files
chore: fixup rover-fed2
1 parent 46316d2 commit 9acdfe0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/cli.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ pub enum Command {
308308
/// Configuration profile commands
309309
Config(command::Config),
310310

311-
/// Federation 2 Alpha commands
311+
/// (deprecated) Federation 2 Alpha commands
312+
#[structopt(setting(structopt::clap::AppSettings::Hidden))]
312313
Fed2(command::Fed2),
313314

314315
/// Supergraph schema commands

src/command/fed2/supergraph/compose.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl Compose {
2323
pub fn run(&self, _client_config: StudioClientConfig) -> Result<RoverOutput> {
2424
let mut err = RoverError::new(anyhow!("This command has been deprecated."));
2525
err.set_suggestion(Suggestion::Adhoc(format!(
26-
"Please set `federation_version = 2` in `{}` and run `rover supergraph compose`",
26+
"Please set `federation_version: 2` in `{}` and run `rover supergraph compose`",
2727
&self.config_path
2828
)));
2929
Err(err)

0 commit comments

Comments
 (0)