File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
dotnet/ServerlessMicroservices.Shared/Services Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -129,16 +129,10 @@ public bool IsRunningInContainer()
129129
130130 public bool IsEnqueueToOrchestrators ( )
131131 {
132- if (
133- GetEnvironmentVariable ( IsEnqueueToOrchestratorsKey ) != null &&
134- ! string . IsNullOrEmpty ( GetEnvironmentVariable ( IsEnqueueToOrchestratorsKey ) . ToString ( ) ) &&
135- GetEnvironmentVariable ( IsEnqueueToOrchestratorsKey ) . ToString ( ) . ToLower ( ) == "true"
136- )
137- {
138- return true ;
139- }
132+ // defaults to true
133+ if ( string . IsNullOrEmpty ( GetEnvironmentVariable ( IsEnqueueToOrchestratorsKey ) ) ) return true ;
140134
141- return false ;
135+ return bool . Parse ( GetEnvironmentVariable ( IsEnqueueToOrchestratorsKey ) ) ;
142136 }
143137
144138 public bool IsPersistDirectly ( )
Original file line number Diff line number Diff line change 1010
1111 dotnet run testTrips -- seeddriversurl http:// localhost:7071 -- testurl http:// localhost:7072 / api/ triptestparameters
1212
13+ start ' http://localhost:7072/api/activetrips'
14+
1315}
1416finally {
1517 Pop-Location
You can’t perform that action at this time.
0 commit comments