-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for start_interval #10939
Conversation
Can someone fix this? |
Hi there! Any news? |
This PR is a draft, waiting for docker engine 1.25 to be released with API to support this new parameter |
4c68049
to
89348d2
Compare
pkg/compose/compose.go
Outdated
|
||
var runtimeVersion = struct { | ||
once sync.Once | ||
val string | ||
err error | ||
}{} | ||
} | ||
|
||
func (s *composeService) RuntimeVersion(ctx context.Context) (string, error) { | ||
runtimeVersion.once.Do(func() { | ||
version, err := s.dockerCli.Client().ServerVersion(ctx) | ||
if err != nil { | ||
runtimeVersion.err = err | ||
} | ||
runtimeVersion.val = version.APIVersion | ||
}) | ||
return runtimeVersion.val, runtimeVersion.err | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #11206
89348d2
to
e5a4575
Compare
e5a4575
to
17b9dd6
Compare
8bb0321
to
4d1cd29
Compare
Signed-off-by: Nicolas De Loof <[email protected]>
4d1cd29
to
a1d2820
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #10939 +/- ##
==========================================
- Coverage 56.34% 56.29% -0.05%
==========================================
Files 134 134
Lines 11560 11574 +14
==========================================
+ Hits 6513 6516 +3
- Misses 4407 4416 +9
- Partials 640 642 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What I did
add support for start_interval
Related issue
closes #10830
(not mandatory) A picture of a cute animal, if possible in relation to what you did