Skip to content

Commit ceda84c

Browse files
authored
chore: apply formatting (#982)
1 parent f9f9114 commit ceda84c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clusters/clusters_api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ type Cluster struct {
355355
ClusterLogConf *StorageInfo `json:"cluster_log_conf,omitempty"`
356356
DockerImage *DockerImage `json:"docker_image,omitempty"`
357357

358+
DataSecurityMode string `json:"data_security_mode,omitempty"`
358359
SingleUserName string `json:"single_user_name,omitempty"`
359360
IdempotencyToken string `json:"idempotency_token,omitempty" tf:"force_new"`
360361
}
@@ -448,6 +449,7 @@ type ClusterInfo struct {
448449
DefaultTags map[string]string `json:"default_tags"`
449450
ClusterLogStatus *LogSyncStatus `json:"cluster_log_status,omitempty"`
450451
TerminationReason *TerminationReason `json:"termination_reason,omitempty"`
452+
DataSecurityMode string `json:"data_security_mode,omitempty"`
451453
}
452454

453455
// IsRunningOrResizing returns true if cluster is running or resizing

pipelines/resource_pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func adjustPipelineResourceSchema(m map[string]*schema.Schema) map[string]*schem
200200
cluster, _ := m["cluster"].Elem.(*schema.Resource)
201201
clustersSchema := cluster.Schema
202202
clustersSchema["spark_conf"].DiffSuppressFunc = clusters.SparkConfDiffSuppressFunc
203-
common.MustSchemaPath(clustersSchema,
203+
common.MustSchemaPath(clustersSchema,
204204
"aws_attributes", "zone_id").DiffSuppressFunc = clusters.ZoneDiffSuppress
205205

206206
awsAttributes, _ := clustersSchema["aws_attributes"].Elem.(*schema.Resource)

0 commit comments

Comments
 (0)