File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
powertools-parameters/src/main/java/software/amazon/lambda/powertools/parameters Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ protected String getValue(String key) {
6767 // so that we can the initial token. If we already have a session, we can take
6868 // the next request token from there.
6969 EstablishedSession establishedSession = establishedSessions .getOrDefault (key , null );
70- String sessionToken = establishedSession != null ?
70+ String sessionToken = establishedSession != null ?
7171 establishedSession .nextSessionToken :
7272 client .startConfigurationSession (StartConfigurationSessionRequest .builder ()
7373 .applicationIdentifier (this .application )
@@ -87,9 +87,9 @@ protected String getValue(String key) {
8787 // Get the value of the key. Note that AppConfig will return null if the value
8888 // has not changed since we last asked for it in this session - in this case
8989 // we return the value we stashed at last request.
90- String value = response .configuration () != null ?
90+ String value = response .configuration () != null ?
9191 response .configuration ().asUtf8String () : // if we have a new value, use it
92- establishedSession != null ?
92+ establishedSession != null ?
9393 establishedSession .lastConfigurationValue : // if we don't but we have a previous value, use that
9494 null ; // otherwise we've got no value
9595
You can’t perform that action at this time.
0 commit comments