Skip to content

Commit

Permalink
Add pscInstanceConfig fields for AlloyDB instance Update
Browse files Browse the repository at this point in the history
  • Loading branch information
anhdle-sso committed May 29, 2024
1 parent eb1cc36 commit 83aa4b8
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 83aa4b8

Please sign in to comment.