Repository navigation
Commit eaed3fc
authored
GCP Pub/Sub: remove the deprecated subscriptionSize setting (#8266)
* GCP Pub/Sub: remove the deprecated subscriptionSize setting
The setting has been rejected at parse time since v2.20 and is scheduled
for code cleanup in v2.22 (#7720). Drop the field and regenerate the
scalers schema. A trigger that still sets subscriptionSize is now treated
like any other unknown key, so the unit case that expected an error now
expects it to be ignored. The SubscriptionSize default for mode stays.
Signed-off-by: Sai Ram <4089996+vjsairam@users.noreply.github.com>
* GCP Pub/Sub: drop the subscriptionSize test case
Removing the row shifts the test table, so the two FromEnv resource-name
cases now point at indices 23 and 24.
Signed-off-by: Sai Ram <4089996+vjsairam@users.noreply.github.com>
---------
Signed-off-by: Sai Ram <4089996+vjsairam@users.noreply.github.com>
Co-authored-by: Sai Ram <4089996+vjsairam@users.noreply.github.com>1 parent 8a0692a commit eaed3fc
4 files changed
Lines changed: 2 additions & 17 deletions
File tree
- pkg/scalers
- schema/generated
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | | - | |
| 102 | + | |
| 103 | + | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5549 | 5549 | | |
5550 | 5550 | | |
5551 | 5551 | | |
5552 | | - | |
5553 | | - | |
5554 | | - | |
5555 | | - | |
5556 | | - | |
5557 | | - | |
5558 | | - | |
5559 | 5552 | | |
5560 | 5553 | | |
5561 | 5554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3707 | 3707 | | |
3708 | 3708 | | |
3709 | 3709 | | |
3710 | | - | |
3711 | | - | |
3712 | | - | |
3713 | | - | |
3714 | | - | |
3715 | 3710 | | |
3716 | 3711 | | |
3717 | 3712 | | |
| |||
0 commit comments