summaryrefslogtreecommitdiff
path: root/internal/command/receivepack/customaction.go
diff options
context:
space:
mode:
authorIgor <idrozdov@gitlab.com>2020-01-02 07:46:58 +0000
committerIgor <idrozdov@gitlab.com>2020-01-02 07:46:58 +0000
commit607c7e37fa4dae90a8d96ffbe6d552b63aa2ecca (patch)
tree9ce1cb7664305a335170f6d76a2447ff266da911 /internal/command/receivepack/customaction.go
parent8744864ac7ceda1e5125057db30119b813e4ddb9 (diff)
parentd5547156c3260e807453634bb5ea3edbbea0fef8 (diff)
downloadgitlab-shell-607c7e37fa4dae90a8d96ffbe6d552b63aa2ecca.tar.gz
Merge branch '210-remove-action-custom-inform_client-once-12-3-has-been-released' into 'master'
Remove support for Custom data.info_message Closes #210 See merge request gitlab-org/gitlab-shell!356
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)
}