Skip to content

Commit

Permalink
Revert "Add debugging helpers"
Browse files Browse the repository at this point in the history
This reverts commit 2240844.

Longhorn 2187

Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber committed May 13, 2024
1 parent b36caa9 commit f879631
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions pkg/controller/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f879631

Please sign in to comment.