You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tag =>GetCromwellImageTag(settings["CromwellImageName"])<=GetCromwellImageTag(defaults["CromwellImageName"])));// There's not a good way to detect customization of this property, so default to forced upgrade to the new default.
IsInstalledNotCustomized:tag =>GetCromwellImageTag(settings["CromwellImageName"])<=GetCromwellImageTag(defaults["CromwellImageName"])));// There's not a good way to detect customization of this property, so default to forced upgrade to the new default.
@@ -1062,9 +1062,10 @@ static int GetCromwellImageTag(string imageName)
1062
1062
/// <param name="valueIsNull">True if configuration value to set is null. See <see cref="UpdateSetting{T}(Dictionary{string, string}, Dictionary{string, string}, string, T, Func{T, string}, string, bool?)"/>'s "value" parameter.</param>
1063
1063
/// <param name="installedVersion">A <see cref="Version"/> of the current configuration, or null if this is not an update.</param>
1064
1064
/// <param name="IsInstalledNotCustomized">A <see cref="Predicate{T}"/> where the parameter is the image tag of the currently configured image. Only called if the rest of the image name is identical to the default. Return False if the value is considered customized, otherwise True.</param>
1065
+
/// <param name="tagKey">Configuration key of tag to use in warning if <paramref name="key"/> is not correct.</param>
1065
1066
/// <returns>false if current setting should be ignored, null otherwise.</returns>
1066
1067
/// <remarks>This method provides a value for the "ignoreDefaults" parameter to <see cref="UpdateSetting{T}(Dictionary{string, string}, Dictionary{string, string}, string, T, Func{T, string}, string, bool?)"/> for use with container image names.</remarks>
@@ -1106,7 +1107,8 @@ static int GetCromwellImageTag(string imageName)
1106
1107
1107
1108
if(resultisnull&&!sameVersionUpgrade)
1108
1109
{
1109
-
ConsoleEx.WriteLine($"Warning: CromwellOnAzure is being upgraded, but {key} was customized, and is not being upgraded, which might not be what you want. (To remove the customization of {key}, set it to the empty string.)",ConsoleColor.Yellow);
ConsoleEx.WriteLine($"Warning: CromwellOnAzure is being upgraded, but {configKey} was customized, and is not being upgraded, which might not be what you want. (To remove the customization of {configKey}, set it to the empty string.)",ConsoleColor.Yellow);
0 commit comments