summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-01-05 18:49:30 -0500
committerScott Murray <scott.murray@konsulko.com>2024-01-05 18:52:29 -0500
commitda47b0611f7495fb9f4727449721c18c9a617217 (patch)
tree452cd9b2ded831162048f0388d3ea31a9f042d2b
parent0702b9bedb593ccbc7e06495189ca68263276fbf (diff)
Fix TLS configuration parsing
Fix "tls_server_name" -> "tls-server-name" so that configuration parsing of the TLS server name override works. Bug-AGL: SPEC-5046 Change-Id: I9c827ff8a10163c62daee81eeea6c416bf10e71f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--lib/config.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config.dart b/lib/config.dart
index 1939b03..aac3af8 100644
--- a/lib/config.dart
+++ b/lib/config.dart
@@ -83,7 +83,7 @@ final kuksaConfigProvider = Provider((ref) {
String tls_server_name = "";
if (yamlMap.containsKey('tls-server-name')) {
- tls_server_name = yamlMap['tls_server_name'];
+ tls_server_name = yamlMap['tls-server-name'];
}
return KuksaConfig(