Skip to content

Commit

Permalink
Merge pull request #927 from planetscale/dependabot/go_modules/github…
Browse files Browse the repository at this point in the history
….com/planetscale/planetscale-go-0.116.0

build(deps): bump github.com/planetscale/planetscale-go from 0.115.0 to 0.116.0
  • Loading branch information
dbussink authored Dec 3, 2024
2 parents e58a668 + 80426f9 commit e821ae5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
github.com/pkg/errors v0.9.1
github.com/planetscale/planetscale-go v0.115.0
github.com/planetscale/planetscale-go v0.116.0
github.com/planetscale/psdb v0.0.0-20240109164348-6848e728f6e7
github.com/planetscale/psdbproxy v0.0.0-20241106211041-dc5c7c72df26
github.com/spf13/cobra v1.8.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/planetscale/noglog v0.2.1-0.20210421230640-bea75fcd2e8e h1:MZ8D+Z3m2vvqGZLvoQfpaGg/j1fNDr4j03s3PRz4rVY=
github.com/planetscale/noglog v0.2.1-0.20210421230640-bea75fcd2e8e/go.mod h1:hwAsSPQdvPa3WcfKfzTXxtEq/HlqwLjQasfO6QbGo4Q=
github.com/planetscale/planetscale-go v0.115.0 h1:9PePFNsY2gwLL842skZTTf0RzEnAqyQ4rW0/mytDJ9c=
github.com/planetscale/planetscale-go v0.115.0/go.mod h1:ldGffCLckkR8fjGDjDFs4WcjlDr8uqg2qRUZhRYBEMI=
github.com/planetscale/planetscale-go v0.116.0 h1:jXR32sTfQOWzoVBuwHLjqh0XktH6ATXyGbvt0u95ALc=
github.com/planetscale/planetscale-go v0.116.0/go.mod h1:ldGffCLckkR8fjGDjDFs4WcjlDr8uqg2qRUZhRYBEMI=
github.com/planetscale/psdb v0.0.0-20240109164348-6848e728f6e7 h1:dxdoFKWVDlV1gq8UQC8NWCofLjCEjEHw47gfeojgs28=
github.com/planetscale/psdb v0.0.0-20240109164348-6848e728f6e7/go.mod h1:WZmi4gw3rOK+ryd1inGxgfKwoFV04O7xBCqzWzv0/0U=
github.com/planetscale/psdbproxy v0.0.0-20241106211041-dc5c7c72df26 h1:u4Q86W+Id75X8RzhSXBwmqZ1HeE1Wbi07JfdFP7DEOc=
Expand Down
8 changes: 8 additions & 0 deletions internal/mock/dr.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ type DeployRequestsService struct {

AutoApplyDeployFn func(context.Context, *ps.AutoApplyDeployRequestRequest) (*ps.DeployRequest, error)
AutoApplyDeployFnInvoked bool

GetDeployOperationsFn func(context.Context, *ps.GetDeployOperationsRequest) ([]*ps.DeployOperation, error)
GetDeployOperationsFnInvoked bool
}

func (d *DeployRequestsService) ApplyDeploy(ctx context.Context, req *ps.ApplyDeployRequestRequest) (*ps.DeployRequest, error) {
Expand Down Expand Up @@ -106,3 +109,8 @@ func (d *DeployRequestsService) SkipRevertDeploy(ctx context.Context, req *ps.Sk
d.SkipRevertDeployFnInvoked = true
return d.SkipRevertDeployFn(ctx, req)
}

func (d *DeployRequestsService) GetDeployOperations(ctx context.Context, req *ps.GetDeployOperationsRequest) ([]*ps.DeployOperation, error) {
d.GetDeployOperationsFnInvoked = true
return d.GetDeployOperationsFn(ctx, req)
}

0 comments on commit e821ae5

Please sign in to comment.