MCPcopy
hub / github.com/docker/compose / increment

Function increment

pkg/compose/compose.go:427–433  ·  view source on GitHub ↗
(scale *int)

Source from the content-addressed store, hash-verified

425}
426
427func increment(scale *int) *int {
428 i := 1
429 if scale != nil {
430 i = *scale + 1
431 }
432 return &i
433}
434
435func (s *composeService) actualVolumes(ctx context.Context, projectName string) (types.Volumes, error) {
436 opts := client.VolumeListOptions{

Callers 2

projectFromNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected