From fb6e630649239105ef0d18c2e997c7bf2e79aebc Mon Sep 17 00:00:00 2001 From: fivesmallq Date: Tue, 16 Nov 2021 17:53:15 +0800 Subject: [PATCH] Fix typos in KubernetesAuthentication. Closes gh-669 --- .../vault/authentication/KubernetesAuthentication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-vault-core/src/main/java/org/springframework/vault/authentication/KubernetesAuthentication.java b/spring-vault-core/src/main/java/org/springframework/vault/authentication/KubernetesAuthentication.java index 0a92a41c..e2b37ed1 100644 --- a/spring-vault-core/src/main/java/org/springframework/vault/authentication/KubernetesAuthentication.java +++ b/spring-vault-core/src/main/java/org/springframework/vault/authentication/KubernetesAuthentication.java @@ -108,7 +108,7 @@ public class KubernetesAuthentication implements ClientAuthentication, Authentic private static Map getKubernetesLogin(String role, String jwt) { Assert.hasText(role, "Role must not be empty"); - Assert.hasText(role, "JWT must not be empty"); + Assert.hasText(jwt, "JWT must not be empty"); Map login = new HashMap<>();