Skip to content

Commit

Permalink
refactor: remove unused data
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jun 3, 2024
1 parent 48816c7 commit 472d983
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion builder/hcloud/artifact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ func TestArtifactState_hcpPackerRegistryMetadata(t *testing.T) {
StateData: map[string]interface{}{
"source_image": "ubuntu-24.04",
"source_image_id": int64(161547269),
"region": "hel1",
"server_type": "cpx11",
},
}
Expand Down
1 change: 0 additions & 1 deletion builder/hcloud/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ func (b *Builder) Run(ctx context.Context, ui packersdk.Ui, hook packersdk.Hook)
"generated_data": state.Get(StateGeneratedData),
"source_image": b.config.Image,
"source_image_id": state.Get(StateSourceImageID),
"region": b.config.Location,
"server_type": b.config.ServerType,
},
}
Expand Down

0 comments on commit 472d983

Please sign in to comment.