Skip to content

Commit

Permalink
OnCall Review
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSouther authored and rlhagerm committed Oct 5, 2023
1 parent 481b76b commit 9d6684a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rust_dev_preview/examples/auto-scaling/src/bin/scenario.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

use std::{collections::BTreeSet, fmt::Display};

use anyhow::anyhow;
Expand Down Expand Up @@ -166,7 +171,7 @@ async fn main() -> Result<(), anyhow::Error> {
show_scenario_description(&scenario, "Scenario scaled to 0").await;

// 12. DeleteAutoScalingGroup (to delete the group you must stop all instances):
// 14. Delete LaunchTemplate.
// 13. Delete LaunchTemplate.
let clean_scenario = scenario.clean_scenario().await;
if let Err(errs) = clean_scenario {
for err in errs {
Expand Down
5 changes: 5 additions & 0 deletions rust_dev_preview/examples/auto-scaling/src/scenario.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/

use std::{
error::Error,
fmt::{Debug, Display},
Expand Down

0 comments on commit 9d6684a

Please sign in to comment.