Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

adapt breaking changes of dapr 1.0.0.rc.1 #883

Merged
merged 2 commits into from
Jan 7, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Microsoft.Tye.Extensions/Dapr/DaprExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ public override Task ProcessAsync(ExtensionContext context, ExtensionConfigurati
}

deployment.Annotations.Add("dapr.io/enabled", "true");
deployment.Annotations.Add("dapr.io/id", project.Name);
deployment.Annotations.Add("dapr.io/port", (httpBinding.Port ?? 80).ToString(CultureInfo.InvariantCulture));
deployment.Annotations.Add("dapr.io/app-id", project.Name);
deployment.Annotations.Add("dapr.io/app-port", (httpBinding.Port ?? 80).ToString(CultureInfo.InvariantCulture));

if (config.Data.TryGetValue("config", out var obj) && obj?.ToString() is string daprConfig)
{
Expand Down