This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mongodbatlas/resource_backup_compliance_policy.go b/mongodbatlas/resource_backup_compliance_policy.go | |
index 01d2fe72..31ab9c52 100644 | |
--- a/mongodbatlas/resource_backup_compliance_policy.go | |
+++ b/mongodbatlas/resource_backup_compliance_policy.go | |
@@ -228,7 +228,8 @@ func ResourceBackupCompliancePolicy() *schema.Resource { | |
} | |
func resourceMongoDBAtlasBackupCompliancePolicyCreate(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics { | |
- printWarningMessageForFirstLastNameFields() | |
+ diagnostics := []diag.Diagnostic{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"public_identifier": "marcosuma", | |
"profile_pic_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/marcosuma/profile?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230520%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230520T035751Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b0d97f76c299c5217633967212f14a9b4e987b8c6978d8cafb7a1cb7a03d4770", | |
"background_cover_image_url": "https://s3.us-west-000.backblazeb2.com/proxycurl/person/marcosuma/cover?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=0004d7f56a0400b0000000001%2F20230520%2Fus-west-000%2Fs3%2Faws4_request&X-Amz-Date=20230520T035751Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=466e670b3a7fd284b4f3399c8ccf4d1ce7e499a8e09e90e8d719ba51c58f4771", | |
"first_name": "Marco", | |
"last_name": "Suma", | |
"full_name": "Marco Suma", | |
"follower_count": 2307, | |
"occupation": "Senior Software Engineer Team Lead at Meta", | |
"headline": "Building systems and teams at scale | Ex-Meta - Google - Amazo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// InterceptResponse intercepts response and create graphql trace | |
func (p *Plugin) InterceptResponse(ctx context.Context, _, _ string, _ map[string]any, response *graphql.Response) *graphql.Response { | |
opts := []ddtrace.StartSpanOption{ | |
tracer.SpanType(ext.SpanTypeGraphQL), | |
tracer.ServiceName(p.ServiceName), | |
} | |
var ( | |
octx *graphql.OperationContext | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package roundtripper | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
log "github.com/sirupsen/logrus" | |
logf "github.com/sirupsen/logrus" | |
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace" | |
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer" |