Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
krschau committed Sep 10, 2024
1 parent 76f2dbb commit 218c914
Showing 1 changed file with 22 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ private async Task InitializeOperationDataAsync()
ShouldShowDotOperations = false;
ShouldShowSplitButton = false;

RegisterForAllOperationMessages(DataExtractor.FillDotButtonOperations(ComputeSystem, _mainWindow), DataExtractor.FillLaunchButtonOperations(_provider, ComputeSystem, _configurationAction));
RegisterForAllOperationMessages(
DataExtractor.FillDotButtonOperations(ComputeSystem, _mainWindow),
DataExtractor.FillLaunchButtonOperations(_provider, ComputeSystem, _configurationAction));

_ = Task.Run(async () =>
{
Expand Down Expand Up @@ -319,25 +321,25 @@ public void Receive(ComputeSystemOperationStartedMessage message)
{
_mainWindow.DispatcherQueue.TryEnqueue(() =>
{
var data = message.Value;
IsOperationInProgress = true;
ShouldShowLaunchOperation = false;
var providerId = ComputeSystem.AssociatedProviderId.Value;
_log.Information($"operation '{data.ComputeSystemOperation}' starting for Compute System: {Name}");
var telemetryPayload = new EnvironmentOperationEvent(
EnvironmentsTelemetryStatus.Started,
data.ComputeSystemOperation,
providerId,
new TelemetryResult(),
data.AdditionalContext);
TelemetryFactory.Get<ITelemetry>().Log(
"Environment_OperationInvoked_Event",
LogLevel.Critical,
telemetryPayload,
relatedActivityId: message.Value.ActivityId);
var data = message.Value;
IsOperationInProgress = true;
ShouldShowLaunchOperation = false;
var providerId = ComputeSystem.AssociatedProviderId.Value;
_log.Information($"operation '{data.ComputeSystemOperation}' starting for Compute System: {Name}");
var telemetryPayload = new EnvironmentOperationEvent(
EnvironmentsTelemetryStatus.Started,
data.ComputeSystemOperation,
providerId,
new TelemetryResult(),
data.AdditionalContext);
TelemetryFactory.Get<ITelemetry>().Log(
"Environment_OperationInvoked_Event",
LogLevel.Critical,
telemetryPayload,
relatedActivityId: message.Value.ActivityId);
});
}

Expand Down

0 comments on commit 218c914

Please sign in to comment.