Skip to content

Commit

Permalink
Merge pull request #261 from Agasd/bugfix-startstate
Browse files Browse the repository at this point in the history
Get fresh state on start
  • Loading branch information
mariotoffia authored Jun 7, 2022
2 parents 061a5ef + ec3cbb1 commit 2632ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ductus.FluentDocker/Services/Impl/DockerContainerService.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
Expand Down Expand Up @@ -157,7 +157,7 @@ void IService.Start()
}
}

if (GetConfiguration().State.Running)
if (GetConfiguration(true).State.Running)
State = ServiceRunningState.Running;
}

Expand Down

0 comments on commit 2632ef3

Please sign in to comment.