From 2d6d17efc7c2207eab48dd0cb4fb2200d9188d0a Mon Sep 17 00:00:00 2001 From: "ws.jung" Date: Fri, 23 Aug 2024 17:21:24 +0900 Subject: [PATCH] 0.1.13 --- Cargo.toml | 2 +- RELEASE_NOTE.md | 4 ++++ src/aws/kinesis.rs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a65c7fb..4325647 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "device-common" -version = "0.1.12" +version = "0.1.13" edition = "2021" authors = ["Ryan Bae "] diff --git a/RELEASE_NOTE.md b/RELEASE_NOTE.md index 183d8b0..bf7e881 100644 --- a/RELEASE_NOTE.md +++ b/RELEASE_NOTE.md @@ -1,3 +1,7 @@ +0.1.13 +====== +- bugfix kinesis.rs + 0.1.12 ====== - kinesis 에 byte array 로 put 하는 함수 추가 diff --git a/src/aws/kinesis.rs b/src/aws/kinesis.rs index 4d0220e..c19bb56 100644 --- a/src/aws/kinesis.rs +++ b/src/aws/kinesis.rs @@ -34,7 +34,7 @@ async fn get_client() -> Arc { pub async fn kinesis_put_record(msg: &String) -> Result<(), DeviceError> { let blob = msg.as_bytes(); - kinesis_put_bytes(blob) + kinesis_put_bytes(blob).await } pub async fn kinesis_put_bytes(bytes: &[u8]) -> Result<(), DeviceError> {