Skip to content

Commit 695b9df

Browse files
committed
remove Go changes
1 parent 4d70bc6 commit 695b9df

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

sdks/go/pkg/beam/runners/dataflow/dataflow.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ var (
6363
maxNumWorkers = flag.Int64("max_num_workers", 0, "Maximum number of workers during scaling (optional).")
6464
diskSizeGb = flag.Int64("disk_size_gb", 0, "Size of root disk for VMs, in GB (optional).")
6565
diskType = flag.String("disk_type", "", "Type of root disk for VMs (optional).")
66-
diskProvisionedIOPS = flag.Int64("disk_provisioned_iops", 0, "Provisioned IOPS for the root disk for VMs (optional).")
67-
diskProvisionedThroughputMibps = flag.Int64("disk_provisioned_throughput_mibps", 0, "Provisioned throughput for the root disk for VMs (optional).")
6866
autoscalingAlgorithm = flag.String("autoscaling_algorithm", "", "Autoscaling mode to use (optional).")
6967
zone = flag.String("zone", "", "GCP zone (optional)")
7068
kmsKey = flag.String("dataflow_kms_key", "", "The Cloud KMS key identifier used to encrypt data at rest (optional).")
@@ -117,8 +115,6 @@ var flagFilter = map[string]bool{
117115
"max_num_workers": true,
118116
"disk_size_gb": true,
119117
"disk_type": true,
120-
"disk_provisioned_iops": true,
121-
"disk_provisioned_throughput_mibps": true,
122118
"autoscaling_algorithm": true,
123119
"zone": true,
124120
"network": true,
@@ -400,8 +396,6 @@ func getJobOptions(ctx context.Context, streaming bool) (*dataflowlib.JobOptions
400396
WorkerHarnessThreads: *workerHarnessThreads,
401397
DiskSizeGb: *diskSizeGb,
402398
DiskType: *diskType,
403-
DiskProvisionedIOPS: *diskProvisionedIOPS,
404-
DiskProvisionedThroughputMibps: *diskProvisionedThroughputMibps,
405399
Algorithm: *autoscalingAlgorithm,
406400
FlexRSGoal: *flexRSGoal,
407401
MachineType: *firstNonEmpty(workerMachineType, machineType),

sdks/go/pkg/beam/runners/dataflow/dataflowlib/job.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ type JobOptions struct {
5858
NumWorkers int64
5959
DiskSizeGb int64
6060
DiskType string
61-
DiskProvisionedIOPS int64
62-
DiskProvisionedThroughputMibps int64
6361
MachineType string
6462
Labels map[string]string
6563
ServiceAccountEmail string
@@ -193,8 +191,6 @@ func Translate(ctx context.Context, p *pipepb.Pipeline, opts *JobOptions, worker
193191
},
194192
DiskSizeGb: opts.DiskSizeGb,
195193
DiskType: opts.DiskType,
196-
DiskProvisionedIops: opts.DiskProvisionedIOPS,
197-
DiskProvisionedThroughputMibps: opts.DiskProvisionedThroughputMibps,
198194
IpConfiguration: ipConfiguration,
199195
Kind: "harness",
200196
Packages: packages,

0 commit comments

Comments
 (0)