Skip to content

Commit 3a0fbb0

Browse files
committed
use comment instead todo! macro
1 parent 7604bc5 commit 3a0fbb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/connectors/kafka/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ impl ClientContext for KafkaContext {
256256
&self,
257257
_oauthbearer_config: Option<&str>,
258258
) -> Result<OAuthToken, Box<dyn Error>> {
259-
todo!("Implement OAuth token generation")
259+
// TODO Implement OAuth token generation when needed
260+
Err("OAuth token generation is not implemented".into())
260261
}
261262
}

0 commit comments

Comments
 (0)