Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Didier Wenzek <[email protected]>
  • Loading branch information
didier-wenzek authored and rina23q committed Jan 2, 2025
1 parent a48c009 commit b9cb82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/tedge/src/cli/connect/jwt_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub(crate) fn get_connected_c8y_url(
}

pub(crate) fn decode_jwt_token(token: &str) -> Result<String, ConnectError> {
// JWT token format: <header>.<payload>.<signature>. Thus, we want only <paylaod>.
// JWT token format: <header>.<payload>.<signature>. Thus, we want only <payload>.
let payload = token
.split_terminator('.')
.nth(1)
Expand Down
2 changes: 1 addition & 1 deletion tests/RobotFramework/devdata/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b9cb82e

Please sign in to comment.