From 2045ce3dd5171bc445cbe311d157b6023625d8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ke=CC=81vin=20Darcel?= Date: Mon, 1 Apr 2019 14:54:41 -0600 Subject: [PATCH] Fix nolimit tag build --- service/license/nolimit.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/service/license/nolimit.go b/service/license/nolimit.go index 8370f236..80d0a6ba 100644 --- a/service/license/nolimit.go +++ b/service/license/nolimit.go @@ -16,8 +16,12 @@ package license -// DefaultLicense is an empty license with no restrictions. -var DefaultLicense = &License{Kind: LicenseFoss} +import ( + "github.com/drone/drone/core" +) -func Trial(string) *License { return nil } -func Load(string) (*License, error) { return DefaultLicense, nil } +// DefaultLicense is an empty license with no restrictions. +var DefaultLicense = &core.License{Kind: core.LicenseFoss} + +func Trial(string) *core.License { return nil } +func Load(string) (*core.License, error) { return DefaultLicense, nil }