From 7e4d00840392a80c0946291848c4caa18a5ec108 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Wed, 23 Oct 2013 00:44:57 -0600 Subject: [PATCH] Runtime: remove unused field kernelVersion --- runtime.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime.go b/runtime.go index f218521ad6..81516e1e94 100644 --- a/runtime.go +++ b/runtime.go @@ -32,7 +32,6 @@ type Runtime struct { repositories *TagStore idIndex *utils.TruncIndex capabilities *Capabilities - kernelVersion *utils.KernelVersionInfo autoRestart bool volumes *Graph srv *Server @@ -440,7 +439,6 @@ func NewRuntime(flGraphPath string, autoRestart bool, dns []string) (*Runtime, e if k, err := utils.GetKernelVersion(); err != nil { log.Printf("WARNING: %s\n", err) } else { - runtime.kernelVersion = k if utils.CompareKernelVersion(k, &utils.KernelVersionInfo{Kernel: 3, Major: 8, Minor: 0}) < 0 { log.Printf("WARNING: You are running linux kernel version %s, which might be unstable running docker. Please upgrade your kernel to 3.8.0.", k.String()) }