From da661e81f63c397b4fe6fbf80e8d3c68381767f2 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Thu, 26 May 2016 11:52:42 +0200 Subject: [PATCH] schema/types: adapt to k8s bump --- schema/types/isolator_resources.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schema/types/isolator_resources.go b/schema/types/isolator_resources.go index d97827b9..2ac5130d 100644 --- a/schema/types/isolator_resources.go +++ b/schema/types/isolator_resources.go @@ -155,8 +155,8 @@ func NewResourceCPUIsolator(request, limit string) (*ResourceCPU, error) { res := &ResourceCPU{ ResourceBase{ resourceValue{ - Request: &req, - Limit: &lim, + Request: req, + Limit: lim, }, }, } @@ -209,8 +209,8 @@ func NewResourceMemoryIsolator(request, limit string) (*ResourceMemory, error) { res := &ResourceMemory{ ResourceBase{ resourceValue{ - Request: &req, - Limit: &lim, + Request: req, + Limit: lim, }, }, }