Skip to content

Commit 7001d40

Browse files
authored
Remote lambda run config UI bug fix (#2474)
* Shows correct function on initialization * Functions respect connection setting configured in the remoteLambda UI * Change log entry description modified
1 parent 924c6fe commit 7001d40

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fixed the Remote Lambda Run Configuration failing to load the list of functions if not in active region"
4+
}

jetbrains-core/src/software/aws/toolkits/jetbrains/ui/connection/AwsConnectionSettingsSelector.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ class AwsConnectionSettingsSelector(
7878
if (regionId != null) {
7979
view.region.selectedRegion = regionProvider[regionId]
8080
}
81-
8281
if (credentialProviderId == null) {
8382
return
8483
}
@@ -91,6 +90,7 @@ class AwsConnectionSettingsSelector(
9190
} catch (_: Exception) {
9291
view.credentialProvider.setSelectedInvalidCredentialsProvider(credentialProviderId)
9392
}
93+
fireChange()
9494
}
9595

9696
fun selectedCredentialProvider(): String? = view.credentialProvider.getSelectedCredentialsProvider()

0 commit comments

Comments
 (0)