From f879631d03e6a5d7a2d123b03967ab5a41aa192c Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Mon, 13 May 2024 15:23:35 +0000 Subject: [PATCH] Revert "Add debugging helpers" This reverts commit 2240844c062e6de8c2bdf153b6c1e0d392f16c3b. Longhorn 2187 Signed-off-by: Eric Weber --- Dockerfile.dapper | 2 +- pkg/controller/control.go | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile.dapper b/Dockerfile.dapper index ea3970395..bbd230ce4 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -118,7 +118,7 @@ RUN cd integration && \ # Build longhorn-instance-manager for integration testing RUN cd /go/src/github.com/longhorn && \ - git clone https://github.com/ejweber/longhorn-instance-manager.git -b 2187-fsfreeze && \ + git clone https://github.com/longhorn/longhorn-instance-manager.git && \ cd longhorn-instance-manager && \ go build -o ./longhorn-instance-manager -tags netgo -ldflags "-linkmode external -extldflags -static" && \ install longhorn-instance-manager /usr/local/bin diff --git a/pkg/controller/control.go b/pkg/controller/control.go index 25e206069..1e76b279e 100644 --- a/pkg/controller/control.go +++ b/pkg/controller/control.go @@ -269,9 +269,6 @@ func (c *Controller) Snapshot(inputName string, labels map[string]string, should } } - log.Warn("Pause for debugging") - time.Sleep(10 * time.Second) - c.Lock() defer c.Unlock() if err = c.canDoSnapshot(); err != nil {