diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-07-29 15:59:23 +0800 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2019-07-31 12:03:43 +0800 |
commit | 592823d5e25006331b361b36cc61df7802fc1938 (patch) | |
tree | e5dfda205795e9526eb94866de65073cd6a83915 /go/internal/command/receivepack/receivepack_test.go | |
parent | 3b0176df497263323da2fae793a79b568502e6db (diff) | |
download | gitlab-shell-592823d5e25006331b361b36cc61df7802fc1938.tar.gz |
Rename CommandArgs to Shell
Other functions are still expecting for `CommandArgs` instead
of `Shell`. They should be expecting `commandargs.Shell` now
since it has been renamed.
Diffstat (limited to 'go/internal/command/receivepack/receivepack_test.go')
-rw-r--r-- | go/internal/command/receivepack/receivepack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/internal/command/receivepack/receivepack_test.go b/go/internal/command/receivepack/receivepack_test.go index e5263f5..a45d054 100644 --- a/go/internal/command/receivepack/receivepack_test.go +++ b/go/internal/command/receivepack/receivepack_test.go @@ -23,7 +23,7 @@ func TestForbiddenAccess(t *testing.T) { cmd := &Command{ Config: &config.Config{GitlabUrl: url}, - Args: &commandargs.CommandArgs{GitlabKeyId: "disallowed", SshArgs: []string{"git-receive-pack", "group/repo"}}, + Args: &commandargs.Shell{GitlabKeyId: "disallowed", SshArgs: []string{"git-receive-pack", "group/repo"}}, ReadWriter: &readwriter.ReadWriter{ErrOut: output, Out: output, In: input}, } |