From 21d6552b4b14efb9822de1182933a37b7048d410 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Sat, 1 Jun 2019 10:59:12 +0200 Subject: [PATCH] It's okay --- server/build.go | 8 -------- server/hook.go | 7 ------- 2 files changed, 15 deletions(-) diff --git a/server/build.go b/server/build.go index 1f6d32578..f2833fe02 100644 --- a/server/build.go +++ b/server/build.go @@ -267,14 +267,6 @@ func PostApproval(c *gin.Context) { build.Reviewed = time.Now().Unix() build.Reviewer = user.Login - // - // - // This code is copied pasted until I have a chance - // to refactor into a proper function. Lots of changes - // and technical debt. No judgement please! - // - // - // fetch the build file from the database conf, err := Config.Storage.Config.ConfigLoad(build.ConfigID) if err != nil { diff --git a/server/hook.go b/server/hook.go index 9122fd432..2f6440fa6 100644 --- a/server/hook.go +++ b/server/hook.go @@ -39,13 +39,6 @@ import ( "github.com/laszlocph/drone-oss-08/cncd/queue" ) -// -// CANARY IMPLEMENTATION -// -// This file is a complete disaster because I'm trying to wedge in some -// experimental code. Please pardon our appearance during renovations. -// - var skipRe = regexp.MustCompile(`\[(?i:ci *skip|skip *ci)\]`) func init() {