X Tutup
Skip to content

--health-start-period value isn't shown when pretty inspecting service #117

@vide

Description

@vide

Description

When I set the --health-start-period in a service, I cannot see the set value using docker service inspect --pretty,

Steps to reproduce the issue:

  1. docker service update foo --health-start-period 2m
  2. docker service inspect --pretty foo | grep -i health

Describe the results you received:

No results while looking for an "Health Start Period value"

Describe the results you expected:

I think this is an important value that should appear in the prettified output too by default. I'm aware that the whole JSON inspect output carries indeed this info under

                "ContainerSpec": {
                    "Healthcheck": {
                        "StartPeriod": 120000000000
                    },

Output of docker version:

Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:25 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.05.0-ce
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Thu May  4 22:06:25 2017
 OS/Arch:      linux/amd64
 Experimental: false

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup