From b9cb82e2e49a742774273ee3aacb57d0bd1ba42b Mon Sep 17 00:00:00 2001 From: Didier Wenzek Date: Thu, 2 Jan 2025 15:25:15 +0100 Subject: [PATCH] Fix typos in comments Signed-off-by: Didier Wenzek --- crates/core/tedge/src/cli/connect/jwt_token.rs | 2 +- tests/RobotFramework/devdata/env.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/core/tedge/src/cli/connect/jwt_token.rs b/crates/core/tedge/src/cli/connect/jwt_token.rs index 19da3af91ad..1a501f7ea20 100644 --- a/crates/core/tedge/src/cli/connect/jwt_token.rs +++ b/crates/core/tedge/src/cli/connect/jwt_token.rs @@ -103,7 +103,7 @@ pub(crate) fn get_connected_c8y_url( } pub(crate) fn decode_jwt_token(token: &str) -> Result { - // JWT token format:
... Thus, we want only . + // JWT token format:
... Thus, we want only . let payload = token .split_terminator('.') .nth(1) diff --git a/tests/RobotFramework/devdata/env.template b/tests/RobotFramework/devdata/env.template index c54a75cf264..51d9c93b304 100644 --- a/tests/RobotFramework/devdata/env.template +++ b/tests/RobotFramework/devdata/env.template @@ -48,6 +48,6 @@ SSH_CONFIG_HOSTNAME= SSH_CONFIG_USERNAME= SSH_CONFIG_PASSWORD= -# Docker - statis /etc/hosts entries +# Docker - static /etc/hosts entries # Custom /etc/hosts entries to reduce test failures due to dns lookup issues inside container DEVICELIBRARY_HOST_C8YURL="example.mydomain.com=1.2.3.4"