File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
core/tedge/src/cli/certificate
extensions/c8y_auth_proxy/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ pub enum TEdgeCertCli {
80
80
///
81
81
/// Exit code:
82
82
/// * `0` - certificate needs renewal as it is no longer valid,
83
- /// or it will expire within the duration, `certificate.validity.minimum_duration`
83
+ /// or it will expire within the duration, `certificate.validity.minimum_duration`
84
84
/// * `1` - certificate is still valid and does not need renewal
85
85
/// * `2` - unexpected error (e.g. certificate does not exist, or can't be read)
86
86
NeedsRenewal {
Original file line number Diff line number Diff line change @@ -1036,7 +1036,7 @@ mod tests {
1036
1036
let body = "A body" ;
1037
1037
let res = reqwest_client ( )
1038
1038
. put ( format ! ( "https://localhost:{port}/c8y/hello" ) )
1039
- . header ( "Content-Length" , body. bytes ( ) . len ( ) )
1039
+ . header ( "Content-Length" , body. len ( ) )
1040
1040
. body ( body)
1041
1041
. send ( )
1042
1042
. await
You can’t perform that action at this time.
0 commit comments