@@ -556,7 +556,7 @@ func resourceOpennebulaMarketPlaceAppUpdate(ctx context.Context, d *schema.Resou
556
556
if d .HasChange ("description" ) {
557
557
newTpl .Del (string (appk .Description ))
558
558
559
- description := d .Get ("description" ).(int )
559
+ description := d .Get ("description" ).(string )
560
560
newTpl .AddPair (string (appk .Description ), description )
561
561
562
562
update = true
@@ -565,7 +565,7 @@ func resourceOpennebulaMarketPlaceAppUpdate(ctx context.Context, d *schema.Resou
565
565
if d .HasChange ("publisher" ) {
566
566
newTpl .Del (string (appk .Publisher ))
567
567
568
- publisher := d .Get ("publisher" ).(int )
568
+ publisher := d .Get ("publisher" ).(string )
569
569
newTpl .AddPair (string (appk .Publisher ), publisher )
570
570
571
571
update = true
@@ -574,7 +574,7 @@ func resourceOpennebulaMarketPlaceAppUpdate(ctx context.Context, d *schema.Resou
574
574
if d .HasChange ("version" ) {
575
575
newTpl .Del (string (appk .Version ))
576
576
577
- version := d .Get ("version" ).(int )
577
+ version := d .Get ("version" ).(string )
578
578
newTpl .AddPair (string (appk .Version ), version )
579
579
580
580
update = true
@@ -583,7 +583,7 @@ func resourceOpennebulaMarketPlaceAppUpdate(ctx context.Context, d *schema.Resou
583
583
if d .HasChange ("vmtemplate64" ) {
584
584
newTpl .Del (string (appk .VMTemplate64 ))
585
585
586
- vmTemplate := d .Get ("vmtemplate64" ).(int )
586
+ vmTemplate := d .Get ("vmtemplate64" ).(string )
587
587
newTpl .AddPair (string (appk .VMTemplate64 ), vmTemplate )
588
588
589
589
update = true
@@ -592,7 +592,7 @@ func resourceOpennebulaMarketPlaceAppUpdate(ctx context.Context, d *schema.Resou
592
592
if d .HasChange ("apptemplate64" ) {
593
593
newTpl .Del (string (appk .AppTemplate64 ))
594
594
595
- appTemplate := d .Get ("apptemplate64" ).(int )
595
+ appTemplate := d .Get ("apptemplate64" ).(string )
596
596
newTpl .AddPair (string (appk .AppTemplate64 ), appTemplate )
597
597
598
598
update = true
0 commit comments