Fix TLSInfo in Node specification
`TLSInfo` is part of `Node.Description`, but was documented as a
direct child of `Node`
`Node.TLSInfo` incorrectly was using the `SwarmSpec` type,
instead of `TLSInfo`
@@ -2086,7 +2086,7 @@ definitions:
Name:
type: "string"
TLSInfo:
- $ref: "#/definitions/SwarmSpec"
+ $ref: "#/definitions/TLSInfo"
example:
ID: "24ifsmvkjbyhk"
Version:
@@ -2158,13 +2158,6 @@ definitions:
Name: "localhost:5000/vieux/sshfs:latest"
- Type: "Volume"
Name: "vieux/sshfs:latest"
- Status:
- State: "ready"
- Addr: "172.17.0.2"
- ManagerStatus:
- Leader: true
- Reachability: "reachable"
- Addr: "172.17.0.2:2377"
TLSInfo:
TrustRoot: |
-----BEGIN CERTIFICATE-----
@@ -2179,6 +2172,13 @@ definitions:
-----END CERTIFICATE-----
CertIssuerSubject: "MBMxETAPBgNVBAMTCHN3YXJtLWNh"
CertIssuerPublicKey: "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEmT9XIw9h1qoNclv9VeHmf/Vi6/uI2vFXdBveXTpcPjqx6i9wNazchk1XWV/dKTKvSh9xyGKmiIeRcE4OiMnJ1A=="
+ Status:
+ State: "ready"
+ Addr: "172.17.0.2"
+ ManagerStatus:
+ Leader: true
+ Reachability: "reachable"
+ Addr: "172.17.0.2:2377"
TLSInfo:
description: "Information about the issuer of leaf TLS certificates and the trusted root CA certificate"
