Skip to content

Commit b4d9733

Browse files
committed
fix merge mistake
1 parent 8395e5e commit b4d9733

File tree

1 file changed

+2
-11
lines changed
  • plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/sso

1 file changed

+2
-11
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/credentials/sso/DiskCache.kt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,13 @@ class DiskCache(
105105
}
106106

107107
override fun invalidateClientRegistration(ssoRegion: String) {
108-
<<<<<<< HEAD
109-
LOG.debug { "invalidateClientRegistration for $ssoRegion" }
110-
InMemoryCache.remove(clientRegistrationCache(ssoRegion).toString())
111-
=======
112108
LOG.info { "invalidateClientRegistration for $ssoRegion" }
113-
>>>>>>> main
109+
InMemoryCache.remove(clientRegistrationCache(ssoRegion).toString())
114110
clientRegistrationCache(ssoRegion).tryDeleteIfExists()
115111
}
116112

117113
override fun loadClientRegistration(cacheKey: ClientRegistrationCacheKey): ClientRegistration? {
118-
<<<<<<< HEAD
119-
LOG.debug { "loadClientRegistration for $cacheKey" }
114+
LOG.info { "loadClientRegistration for $cacheKey" }
120115
val cacheFile = clientRegistrationCache(cacheKey)
121116

122117
// try InMemoryCacheFirst in case of stale registration on full disk
@@ -127,10 +122,6 @@ class DiskCache(
127122
}
128123

129124
val inputStream = cacheFile.tryInputStreamIfExists()
130-
=======
131-
LOG.info { "loadClientRegistration for $cacheKey" }
132-
val inputStream = clientRegistrationCache(cacheKey).tryInputStreamIfExists()
133-
>>>>>>> main
134125
if (inputStream == null) {
135126
val stage = LoadCredentialStage.ACCESS_FILE
136127
LOG.info { "Failed to load Client Registration: cache file does not exist" }

0 commit comments

Comments
 (0)