Skip to content

Commit e1fc2d6

Browse files
committed
Linter fixes
1 parent eca1683 commit e1fc2d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/cdr/practitioner/data_source_cdr_practitioner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func dataSourceCDRPropositionRead(ctx context.Context, d *schema.ResourceData, m
107107
return diag.FromErr(fmt.Errorf("R4.MarshalResource: %w", err))
108108
}
109109
_ = d.Set("fhir_json", string(jsonResource))
110-
if resource.Identifier != nil && len(resource.Identifier) > 0 {
110+
if len(resource.Identifier) > 0 {
111111
var uses []string
112112
var systems []string
113113
var values []string
@@ -153,7 +153,7 @@ func dataSourceCDRPropositionRead(ctx context.Context, d *schema.ResourceData, m
153153
return diag.FromErr(fmt.Errorf("STU3.MarshalResource: %w", err))
154154
}
155155
_ = d.Set("fhir_json", string(jsonResource))
156-
if resource.Identifier != nil && len(resource.Identifier) > 0 {
156+
if len(resource.Identifier) > 0 {
157157
var uses []string
158158
var systems []string
159159
var values []string

0 commit comments

Comments
 (0)