style: applied uniform formatting across library code
Check / stable / fmt (push) Failing after 24s
Check / beta / clippy (push) Failing after 42s
Check / stable / clippy (push) Failing after 41s
Check / nightly / doc (push) Failing after 41s
Check / 1.89.0 / check (push) Failing after 44s
Test Suite / ubuntu / beta (push) Failing after 44s
Test Suite / ubuntu / stable (push) Failing after 44s
Test Suite / ubuntu / stable / coverage (push) Failing after 1m14s
Test Suite / macos-latest / stable (push) Has been cancelled
Test Suite / windows-latest / stable (push) Has been cancelled

This commit is contained in:
2026-06-02 12:22:28 -06:00
parent 47d2541b0f
commit 74f25445ce
6 changed files with 69 additions and 57 deletions
+2 -3
View File
@@ -72,9 +72,8 @@ impl SecretProvider for GcpSecretManagerProvider {
provider: PROVIDER,
})?;
let secret_value = payload.data.ref_sensitive_value().to_vec();
let secret_string = String::from_utf8(secret_value).map_err(|_| {
SecretError::Other(anyhow!("secret value is not valid UTF-8"))
})?;
let secret_string = String::from_utf8(secret_value)
.map_err(|_| SecretError::Other(anyhow!("secret value is not valid UTF-8")))?;
Ok(secret_string)
}