Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Dec 17, 2021
1 parent 6d1fca2 commit 34fa913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewArgumentError(format string, v ...interface{}) *ArgumentError {
return &ArgumentError{msg: msg}
}

func awsClient(node *domain.Node, project *domain.Project, stage *domain.Stage) (*aws.AWS, error) {
func awsClient(node *domain.Node, stage *domain.Stage) (*aws.AWS, error) {
restEndpoint := node.Endpoints.Rest

url, err := url.Parse(fmt.Sprintf("%s/security", restEndpoint))
Expand Down
2 changes: 1 addition & 1 deletion cli/controller/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewDeployWithStage(fs *domain.FileStore, stage *domain.Stage) (*Deploy, err

func (d *Deploy) setAWSclient() error {
stage := d.stage
awsClient, err := awsClient(stage.Node(), stage.Project(), stage)
awsClient, err := awsClient(stage.Node(), stage)
if err != nil {
return log.Wrap(err)
}
Expand Down
2 changes: 1 addition & 1 deletion cli/controller/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Logs(a LogsArgs) error {
if err != nil {
return log.Wrap(err)
}
awsClient, err := awsClient(stage.Node(), stage.Project(), stage)
awsClient, err := awsClient(stage.Node(), stage)
if err != nil {
return log.Wrap(err)
}
Expand Down

0 comments on commit 34fa913

Please sign in to comment.