Skip to content

Commit

Permalink
Service Config - Enable Communication fix
Browse files Browse the repository at this point in the history
Only prompt to populate ConnectionID if there are SQL connections missing ConnectionID.  Ignore S3 & folder sources.
  • Loading branch information
DavidWiseman committed Jun 16, 2024
1 parent 94f95bd commit b51ab66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DBADashServiceConfig/ServiceConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ private void ChkEnableMessaging_CheckedChanged(object sender, EventArgs e)
collectionConfig.EnableMessaging = chkEnableMessaging.Checked;
SetJson();

if (chkEnableMessaging.Checked && collectionConfig.SourceConnections.Exists(src => string.IsNullOrEmpty(src.ConnectionID)))
if (chkEnableMessaging.Checked && collectionConfig.SourceConnections.Exists(src => string.IsNullOrEmpty(src.ConnectionID) && src.SourceConnection.Type == ConnectionType.SQL))
{
if (MessageBox.Show(
"Messaging requires an explicit ConnectionID to be defined in the config file. One or more connections do not have a ConnectionID defined.\nWould you like to automatically populate this now?\n\nNote:This might take a while depending on the number of connections and their availability.",
Expand Down

0 comments on commit b51ab66

Please sign in to comment.