-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: update resources with resourcebuilder changes #747
Conversation
bc6f442
to
386183b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems all good to me. Thanks O
386183b
to
ab08311
Compare
common/src/models/service.rs
Outdated
fn get_persist_table(persist_instances: &[&resource::Response]) -> String { | ||
let mut table = Table::new(); | ||
|
||
table | ||
.load_preset(UTF8_FULL) | ||
.apply_modifier(UTF8_ROUND_CORNERS) | ||
.set_content_arrangement(ContentArrangement::DynamicFullWidth) | ||
.set_header(vec![ | ||
Cell::new("Persist Instances").set_alignment(CellAlignment::Center) | ||
]); | ||
|
||
for _ in persist_instances { | ||
table.add_row(vec!["Instance"]); | ||
} | ||
|
||
format!( | ||
r#"These instances are linked to this service | ||
{table} | ||
"#, | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one I'm not so sure about how we should handle, since the output just contains the project name. 🤔
16d850e
to
bc0331d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we can fix all the tables in ENG-518
Description of change
This updates the resources with the changes in #746, which needs to be merged before this.
How Has This Been Tested (if applicable)?
Local runs.