summaryrefslogtreecommitdiffstats
path: root/src/endpoint/configured.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-06 13:23:46 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-06 13:27:12 +0100
commit2f9dd91702c795265ab0fa1eac31aaa322caaeb5 (patch)
treeb7ed713d2cfabd04e1eb32d89c9294122af836a2 /src/endpoint/configured.rs
parent9e81c7c913d6363315c36229ad97df3891d21b06 (diff)
Fix TODO: Log warnings, do nothing more for now
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint/configured.rs')
-rw-r--r--src/endpoint/configured.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs
index 9d5c5da..296d369 100644
--- a/src/endpoint/configured.rs
+++ b/src/endpoint/configured.rs
@@ -179,8 +179,10 @@ impl Endpoint {
.create(&builder_opts)
.await?;
- if create_info.warnings.is_some() {
- // TODO: Handle warnings
+ if let Some(warnings) = create_info.warnings.as_ref() {
+ for warning in warnings {
+ warn!("{}", warning);
+ }
}
(create_info.id, create_info.warnings)