Skip to content

Commit 55ea927

Browse files
tas50claude
andcommitted
🧹 Remove redundant snapshot sourceDiskId field
Now that sourceDisk is a typed resource reference, the raw ID string is unnecessary — callers can traverse sourceDisk.id instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent aa6b1d3 commit 55ea927

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

‎providers/gcp/resources/compute.go‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,6 @@ func (g *mqlGcpProjectComputeService) snapshots() ([]any, error) {
11751175
"enableConfidentialCompute": llx.BoolData(snapshot.EnableConfidentialCompute),
11761176
"satisfiesPzi": llx.BoolData(snapshot.SatisfiesPzi),
11771177
"satisfiesPzs": llx.BoolData(snapshot.SatisfiesPzs),
1178-
"sourceDiskId": llx.StringData(snapshot.SourceDiskId),
11791178
"sourceSnapshotSchedulePolicy": llx.StringData(snapshot.SourceSnapshotSchedulePolicy),
11801179
"sourceSnapshotSchedulePolicyId": llx.StringData(snapshot.SourceSnapshotSchedulePolicyId),
11811180
})

‎providers/gcp/resources/gcp.lr‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,6 @@ private gcp.project.computeService.snapshot @defaults("name") {
10281028
satisfiesPzs bool
10291029
// Source disk used to create this snapshot
10301030
sourceDisk() gcp.project.computeService.disk
1031-
// ID of the source disk used to create this snapshot
1032-
sourceDiskId string
10331031
// URL of the snapshot schedule policy that created this snapshot
10341032
sourceSnapshotSchedulePolicy string
10351033
// ID of the snapshot schedule policy

‎providers/gcp/resources/gcp.lr.go‎

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎providers/gcp/resources/gcp.lr.versions‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,6 @@ gcp.project.computeService.snapshot.satisfiesPzi 11.6.6
12251225
gcp.project.computeService.snapshot.satisfiesPzs 11.6.6
12261226
gcp.project.computeService.snapshot.snapshotType 9.0.0
12271227
gcp.project.computeService.snapshot.sourceDisk 11.6.6
1228-
gcp.project.computeService.snapshot.sourceDiskId 13.1.2
12291228
gcp.project.computeService.snapshot.sourceSnapshotSchedulePolicy 13.1.2
12301229
gcp.project.computeService.snapshot.sourceSnapshotSchedulePolicyId 13.1.2
12311230
gcp.project.computeService.snapshot.status 9.0.0

0 commit comments

Comments
 (0)