Skip to content

Commit

Permalink
feat(cli): add forum post link to proposal options (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic authored Jan 20, 2025
1 parent 2bfeb25 commit 2e82f8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion rs/cli/src/commands/firewall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ impl ExecutableCommand for Firewall {
ProposeOptions {
title: self.title.clone(),
summary: self.summary.clone(),
..Default::default()
forum_post_link: ctx.forum_post_link(),
motivation: None,
},
&self.rules_scope,
)
Expand Down
3 changes: 2 additions & 1 deletion rs/cli/src/qualification/ensure_blessed_versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ impl Step for EnsureBlessedRevisions {
ProposeOptions {
title: Some(format!("Blessing version: {}", &self.version)),
summary: Some("Some updates".to_string()),
..Default::default()
forum_post_link: ctx.dre_ctx().forum_post_link(),
motivation: None,
},
)
.await
Expand Down
2 changes: 1 addition & 1 deletion rs/cli/src/qualification/retire_blessed_versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl Step for RetireBlessedVersions {
title: Some("Retire replica versions".to_string()),
summary: Some("Unelecting a version".to_string()),
motivation: Some("Unelecting a version".to_string()),
forum_post_link: None,
forum_post_link: ctx.dre_ctx().forum_post_link(),
},
)
.await
Expand Down

0 comments on commit 2e82f8b

Please sign in to comment.