summaryrefslogtreecommitdiff
path: root/go/internal/gitlabnet/lfsauthenticate/client.go
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-07-29 15:59:23 +0800
committerPatrick Bajao <ebajao@gitlab.com>2019-07-31 12:03:43 +0800
commit592823d5e25006331b361b36cc61df7802fc1938 (patch)
treee5dfda205795e9526eb94866de65073cd6a83915 /go/internal/gitlabnet/lfsauthenticate/client.go
parent3b0176df497263323da2fae793a79b568502e6db (diff)
downloadgitlab-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/gitlabnet/lfsauthenticate/client.go')
-rw-r--r--go/internal/gitlabnet/lfsauthenticate/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/internal/gitlabnet/lfsauthenticate/client.go b/go/internal/gitlabnet/lfsauthenticate/client.go
index 2a7cb03..51cb7a4 100644
--- a/go/internal/gitlabnet/lfsauthenticate/client.go
+++ b/go/internal/gitlabnet/lfsauthenticate/client.go
@@ -13,7 +13,7 @@ import (
type Client struct {
config *config.Config
client *gitlabnet.GitlabClient
- args *commandargs.CommandArgs
+ args *commandargs.Shell
}
type Request struct {
@@ -30,7 +30,7 @@ type Response struct {
ExpiresIn int `json:"expires_in"`
}
-func NewClient(config *config.Config, args *commandargs.CommandArgs) (*Client, error) {
+func NewClient(config *config.Config, args *commandargs.Shell) (*Client, error) {
client, err := gitlabnet.GetClient(config)
if err != nil {
return nil, fmt.Errorf("Error creating http client: %v", err)