Commit ad1dd48 1 parent cbb8b2b commit ad1dd48 Copy full SHA for ad1dd48
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,17 @@ use tokio::main;
7
7
/// Examples
8
8
#[ main]
9
9
async fn main ( ) {
10
+ /// Examples
10
11
/// List all Services.
11
12
let services = ServiceManager :: list_all_services ( "20" ) . await ;
12
13
13
- // List all Services by Name and Type.
14
+ /// List all Services by Name and Type.
14
15
let services = ServiceManager :: find_service_by_name_and_type ( "whoami" , "web_service" ) . await ;
15
16
16
- // List all Services by Region.
17
+ /// List all Services by Region.
17
18
let services = ServiceManager :: find_service_by_region ( "oregon" , "10" ) . await ;
18
19
19
- // List all Services by Environment.
20
+ /// List all Services by Environment.
20
21
let services = ServiceManager :: find_service_by_environment ( "image" , "10" ) . await ;
21
22
}
22
23
@@ -48,6 +49,7 @@ async fn main() {
48
49
/// let services = result.unwrap();
49
50
/// assert!(!services.is_empty());
50
51
/// }
52
+ ///
51
53
/// More tests...
52
54
53
55
#[ cfg( test) ]
You can’t perform that action at this time.
0 commit comments