summaryrefslogtreecommitdiff
path: root/internal/command/receivepack/customaction.go
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-12-24 15:36:07 +1100
committerAsh McKenzie <amckenzie@gitlab.com>2019-12-24 15:36:11 +1100
commitd5547156c3260e807453634bb5ea3edbbea0fef8 (patch)
tree9ce1cb7664305a335170f6d76a2447ff266da911 /internal/command/receivepack/customaction.go
parent8744864ac7ceda1e5125057db30119b813e4ddb9 (diff)
downloadgitlab-shell-d5547156c3260e807453634bb5ea3edbbea0fef8.tar.gz
Diffstat (limited to 'internal/command/receivepack/customaction.go')
-rw-r--r--internal/command/receivepack/customaction.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/command/receivepack/customaction.go b/internal/command/receivepack/customaction.go
index 7575ee9..6693d23 100644
--- a/internal/command/receivepack/customaction.go
+++ b/internal/command/receivepack/customaction.go
@@ -7,9 +7,7 @@ import (
"io"
"io/ioutil"
"net/http"
- "strings"
- "gitlab.com/gitlab-org/gitlab-shell/internal/console"
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet"
"gitlab.com/gitlab-org/gitlab-shell/internal/gitlabnet/accessverifier"
)
@@ -33,8 +31,6 @@ func (c *Command) processCustomAction(response *accessverifier.Response) error {
return errors.New("Custom action error: Empty API endpoints")
}
- console.DisplayInfoMessages(strings.Split(data.InfoMessage, "\n"), c.ReadWriter.ErrOut)
-
return c.processApiEndpoints(response)
}