From 896d1b1c61a48e2df1a7b4644ddde6ee97db6111 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Fri, 17 Aug 2018 17:05:21 -0700 Subject: Expose license status in Info (#37612) * Expose license status in Info This wires up a new field in the Info payload that exposes the license. For moby this is hardcoded to always report a community edition. Downstream enterprise dockerd will have additional licensing logic wired into this function to report details about the current license status. Signed-off-by: Daniel Hiltgen * Code review comments Signed-off-by: Daniel Hiltgen * Add windows autogen support Signed-off-by: Daniel Hiltgen --- dockerversion/version_lib.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'dockerversion') diff --git a/dockerversion/version_lib.go b/dockerversion/version_lib.go index ff1816503b..77b87891be 100644 --- a/dockerversion/version_lib.go +++ b/dockerversion/version_lib.go @@ -6,13 +6,14 @@ package dockerversion // import "github.com/docker/docker/dockerversion" // Default build-time variable for library-import. // This file is overridden on build with build-time informations. const ( - GitCommit = "library-import" - Version = "library-import" - BuildTime = "library-import" - IAmStatic = "library-import" - ContainerdCommitID = "library-import" - RuncCommitID = "library-import" - InitCommitID = "library-import" - PlatformName = "" - ProductName = "" + GitCommit = "library-import" + Version = "library-import" + BuildTime = "library-import" + IAmStatic = "library-import" + ContainerdCommitID = "library-import" + RuncCommitID = "library-import" + InitCommitID = "library-import" + PlatformName = "" + ProductName = "" + DefaultProductLicense = "" ) -- cgit v1.2.1