Remove any extra curly braces from the @Value annotation (#5838)

This commit is contained in:
tianqingzhao 2021-05-26 10:06:30 +08:00 committed by GitHub
parent 0e4e1f6ad8
commit b55b42cc0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,10 +65,10 @@ public class AuthConfigs {
@Value("${nacos.core.auth.server.identity.key:}")
private String serverIdentityKey;
@Value(("${nacos.core.auth.server.identity.value:}"))
@Value("${nacos.core.auth.server.identity.value:}")
private String serverIdentityValue;
@Value(("${nacos.core.auth.enable.userAgentAuthWhite:true}"))
@Value("${nacos.core.auth.enable.userAgentAuthWhite:true}")
private boolean enableUserAgentAuthWhite;
public byte[] getSecretKeyBytes() {