File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,11 @@ func resourceMongoDBAtlasEventTriggers() *schema.Resource {
110
110
var j , j2 interface {}
111
111
if err := json .Unmarshal ([]byte (old ), & j ); err != nil {
112
112
log .Printf ("[ERROR] json.Unmarshal %v" , err )
113
+ return false
113
114
}
114
115
if err := json .Unmarshal ([]byte (new ), & j2 ); err != nil {
115
116
log .Printf ("[ERROR] json.Unmarshal %v" , err )
117
+ return false
116
118
}
117
119
if diff := deep .Equal (& j , & j2 ); diff != nil {
118
120
log .Printf ("[DEBUG] deep equal not passed: %v" , diff )
@@ -130,9 +132,11 @@ func resourceMongoDBAtlasEventTriggers() *schema.Resource {
130
132
var j , j2 interface {}
131
133
if err := json .Unmarshal ([]byte (old ), & j ); err != nil {
132
134
log .Printf ("[ERROR] json.Unmarshal %v" , err )
135
+ return false
133
136
}
134
137
if err := json .Unmarshal ([]byte (new ), & j2 ); err != nil {
135
138
log .Printf ("[ERROR] json.Unmarshal %v" , err )
139
+ return false
136
140
}
137
141
if diff := deep .Equal (& j , & j2 ); diff != nil {
138
142
log .Printf ("[DEBUG] deep equal not passed: %v" , diff )
You can’t perform that action at this time.
0 commit comments