Skip to content

Commit

Permalink
Merge pull request #315 from microsoft/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
colbylwilliams authored Feb 9, 2022
2 parents 4dff314 + f5ebaca commit 33033c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/get-url.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_new_uri():
return None


def get_ole_uri():
def get_old_uri():
with open(Path(Path.cwd() / 'web') / '.env.development', 'r') as f:
for line in f:
if line.startswith('REACT_APP_TC_API_URL'):
Expand All @@ -32,7 +32,7 @@ def get_ole_uri():
if not new_uri:
raise ValueError('ngrok not running, start ngrok and try again.')

old_uri = get_ole_uri()
old_uri = get_old_uri()

if not old_uri:
raise ValueError('no old uri found in .env.development')
Expand Down
7 changes: 4 additions & 3 deletions src/TeamCloud.Orchestrator/Command/CommandOrchestration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
* Licensed under the MIT License.
*/

using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Extensions.Logging;
using TeamCloud.Model.Commands.Core;
using TeamCloud.Orchestrator.Command.Activities;

Expand All @@ -23,6 +23,7 @@ public CommandOrchestration(ICommandHandler[] commandHandlers)
this.commandHandlers = commandHandlers;
}

// [Deterministic]
[FunctionName(nameof(CommandOrchestration))]
public async Task Execute(
[OrchestrationTrigger] IDurableOrchestrationContext orchestratorContext,
Expand Down

0 comments on commit 33033c2

Please sign in to comment.