Skip to content

Commit 9a257ca

Browse files
fix: remove redundant forcepoweroff assignment
1 parent dea8514 commit 9a257ca

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

builder/tencentcloud/cvm/image_config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ type TencentCloudImageConfig struct {
4242
func (cf *TencentCloudImageConfig) Prepare(ctx *interpolate.Context) []error {
4343
var errs []error
4444

45-
cf.ForcePoweroff = true
4645
if cf.ImageName == "" {
4746
errs = append(errs, fmt.Errorf("image_name must be specified"))
4847
} else if utf8.RuneCountInString(cf.ImageName) > 60 {

0 commit comments

Comments
 (0)