From 806ac6fa86841996996a9d329d27c30f5359d793 Mon Sep 17 00:00:00 2001 From: Abhishek Jain Date: Sat, 25 Mar 2017 21:11:24 -0400 Subject: [PATCH] Removed the import statement which was importing offerUtils from electron-archive. This results in build failure is electron-archive is a local package --- utilities/offerUtils/offerUtils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utilities/offerUtils/offerUtils.go b/utilities/offerUtils/offerUtils.go index f90480e..7651b98 100644 --- a/utilities/offerUtils/offerUtils.go +++ b/utilities/offerUtils/offerUtils.go @@ -1,7 +1,6 @@ package offerUtils import ( - "bitbucket.org/sunybingcloud/electron-archive/utilities/offerUtils" "bitbucket.org/sunybingcloud/electron/constants" mesos "github.com/mesos/mesos-go/mesosproto" "log" @@ -74,7 +73,7 @@ func UpdateEnvironment(offer *mesos.Offer) { // Add this host. constants.Hosts[host] = struct{}{} // Get the power class of this host. - class := offerUtils.PowerClass(offer) + class := PowerClass(offer) log.Printf("Registering the power class... Host [%s] --> PowerClass [%s]", host, class) // If new power class, register the power class. if _, ok := constants.PowerClasses[class]; !ok {