mirror of https://github.com/docker/cli.git
Merge pull request #1325 from dhiltgen/product_license_master
Expose product license in info output
This commit is contained in:
commit
79455f8238
|
@ -204,6 +204,9 @@ func prettyPrintInfo(dockerCli command.Cli, info types.Info) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintln(dockerCli.Out(), "Live Restore Enabled:", info.LiveRestoreEnabled)
|
fmt.Fprintln(dockerCli.Out(), "Live Restore Enabled:", info.LiveRestoreEnabled)
|
||||||
|
if info.ProductLicense != "" {
|
||||||
|
fmt.Fprintln(dockerCli.Out(), "Product License:", info.ProductLicense)
|
||||||
|
}
|
||||||
fmt.Fprint(dockerCli.Out(), "\n")
|
fmt.Fprint(dockerCli.Out(), "\n")
|
||||||
|
|
||||||
printWarnings(dockerCli, info)
|
printWarnings(dockerCli, info)
|
||||||
|
|
Loading…
Reference in New Issue