Skip to content

Commit 8bf3a16

Browse files
committed
fix: allow the scheduler client to initialise for edge builds
Signed-off-by: mikeee <hey@mike.ee>
1 parent 6d5e64d commit 8bf3a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ dapr run --run-file /path/to/directory -k
230230
output.DaprGRPCPort)
231231
}
232232

233-
if semver.Compare(fmt.Sprintf("v%v", daprVer.RuntimeVersion), "v1.14.0-rc.1") == -1 {
233+
if (daprVer.RuntimeVersion != "edge") && (semver.Compare(fmt.Sprintf("v%v", daprVer.RuntimeVersion), "v1.14.0-rc.1") == -1) {
234234
print.InfoStatusEvent(os.Stdout, "The scheduler is only compatible with dapr runtime 1.14 onwards.")
235235
for i, arg := range output.DaprCMD.Args {
236236
if strings.HasPrefix(arg, "--scheduler-host-address") {

0 commit comments

Comments
 (0)