Skip to content

Commit

Permalink
Merge pull request #1906 from anhdle-sso/add_instance_pscInstanceConfig
Browse files Browse the repository at this point in the history
Add pscInstanceConfig fields for AlloyDB instance Update
  • Loading branch information
google-oss-prow[bot] authored May 30, 2024
2 parents e2ca7bc + 83aa4b8 commit 017c5a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mockgcp/mockalloydb/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ func (s *AlloyDBAdminV1) UpdateInstance(ctx context.Context, req *pb.UpdateInsta
obj.ReadPoolConfig = req.Instance.GetReadPoolConfig()
case "machineConfig":
obj.MachineConfig = req.Instance.GetMachineConfig()
case "pscInstanceConfig":
obj.PscInstanceConfig = req.Instance.GetPscInstanceConfig()
default:
return nil, status.Errorf(codes.InvalidArgument, "update_mask path %q not valid", path)
}
Expand Down

0 comments on commit 017c5a3

Please sign in to comment.