Skip to content

Commit aaacbf2

Browse files
andersonshatchgamingrobot
authored andcommitted
Quote null to squelch warning
1 parent b040f31 commit aaacbf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Contrast.K8s.AgentOperator/Modules/OptionsModule.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ protected override void Load(ContainerBuilder builder)
128128
string? storageLimit = null;
129129
string? storageRequest = null;
130130
if (GetEnvironmentVariableAsString("CONTRAST_INITCONTAINER_EPHEMERALSTORAGE_LIMIT", out var ephemeralStorageLimitStr)) {
131-
logger.LogOptionValue("initcontainer-ephemeralstorage-limit", null, ephemeralStorageLimitStr);
131+
logger.LogOptionValue("initcontainer-ephemeralstorage-limit", "null", ephemeralStorageLimitStr);
132132
storageLimit = ephemeralStorageLimitStr;
133133
}
134134

135135
if (GetEnvironmentVariableAsString("CONTRAST_INITCONTAINER_EPHEMERALSTORAGE_REQUEST", out var ephemeralStorageRequestStr)) {
136-
logger.LogOptionValue("initcontainer-ephemeralstorage-request", null, ephemeralStorageRequestStr);
136+
logger.LogOptionValue("initcontainer-ephemeralstorage-request", "null", ephemeralStorageRequestStr);
137137
storageRequest = ephemeralStorageRequestStr;
138138
}
139139

0 commit comments

Comments
 (0)