Update SDK dependencies (#100)
* Update dependencies * Fix tests * Fix field assignment * Update field assignment * Remove unused functions --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
9937717104
commit
c3618f2b63
35 changed files with 249 additions and 224 deletions
|
|
@ -224,7 +224,7 @@ func TestToCreatePayload(t *testing.T) {
|
|||
InstanceName: utils.Ptr("name"),
|
||||
Parameters: &postgresql.InstanceParameters{
|
||||
EnableMonitoring: utils.Ptr(true),
|
||||
MetricsFrequency: utils.Ptr(int32(123)),
|
||||
MetricsFrequency: utils.Ptr(int64(123)),
|
||||
MetricsPrefix: utils.Ptr("prefix"),
|
||||
MonitoringInstanceId: utils.Ptr("monitoring"),
|
||||
Plugins: &[]string{
|
||||
|
|
@ -257,7 +257,7 @@ func TestToCreatePayload(t *testing.T) {
|
|||
InstanceName: utils.Ptr(""),
|
||||
Parameters: &postgresql.InstanceParameters{
|
||||
EnableMonitoring: nil,
|
||||
MetricsFrequency: utils.Ptr(int32(2123456789)),
|
||||
MetricsFrequency: utils.Ptr(int64(2123456789)),
|
||||
MetricsPrefix: nil,
|
||||
MonitoringInstanceId: nil,
|
||||
Plugins: &[]string{
|
||||
|
|
@ -351,7 +351,7 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
&postgresql.UpdateInstancePayload{
|
||||
Parameters: &postgresql.InstanceParameters{
|
||||
EnableMonitoring: utils.Ptr(true),
|
||||
MetricsFrequency: utils.Ptr(int32(123)),
|
||||
MetricsFrequency: utils.Ptr(int64(123)),
|
||||
MetricsPrefix: utils.Ptr("prefix"),
|
||||
MonitoringInstanceId: utils.Ptr("monitoring"),
|
||||
Plugins: &[]string{
|
||||
|
|
@ -382,7 +382,7 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
&postgresql.UpdateInstancePayload{
|
||||
Parameters: &postgresql.InstanceParameters{
|
||||
EnableMonitoring: nil,
|
||||
MetricsFrequency: utils.Ptr(int32(2123456789)),
|
||||
MetricsFrequency: utils.Ptr(int64(2123456789)),
|
||||
MetricsPrefix: nil,
|
||||
MonitoringInstanceId: nil,
|
||||
Plugins: &[]string{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue