Skip to content

Commit 1bfdad5

Browse files
committed
fix: readd lost function after merge PR
Signed-off-by: disaster37 <linuxworkgroup@hotmail.com>
1 parent 1812061 commit 1bfdad5

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

es/diff_suppress_funcs.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ func diffSuppressIndexTemplate(k, old, new string, d *schema.ResourceData) bool
271271
return reflect.DeepEqual(no, oo)
272272
}
273273

274-
275274
// diffSuppressTransform permit to compare transform in current state vs from API
276275
func diffSuppressTransform(k, old, new string, d *schema.ResourceData) bool {
277276
oo := &Transform{}
@@ -291,11 +290,10 @@ func diffSuppressTransform(k, old, new string, d *schema.ResourceData) bool {
291290
oo.Id = ""
292291
oo.CreateTime = 0
293292
oo.Version = ""
294-
293+
295294
return reflect.DeepEqual(no, oo)
296295
}
297296

298-
299297
// diffSuppressIngestPipeline permit to compare ingest pipeline in current state vs from API
300298
func diffSuppressIngestPipeline(k, old, new string, d *schema.ResourceData) bool {
301299
oo := &elastic.IngestGetPipeline{}
@@ -313,4 +311,4 @@ func diffSuppressIngestPipeline(k, old, new string, d *schema.ResourceData) bool
313311
}
314312

315313
return reflect.DeepEqual(no, oo)
316-
}
314+
}

es/resource_elasticsearch_ingest_pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"io/ioutil"
1414
"strings"
1515

16-
elastic "github.com/elastic/go-elasticsearch/v7"
16+
elastic "github.com/elastic/go-elasticsearch/v8"
1717
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1818
"github.com/pkg/errors"
1919
log "github.com/sirupsen/logrus"

0 commit comments

Comments
 (0)