1.1.0
This commit is contained in:
@@ -42,6 +42,7 @@ func DataSourceImageList(ctx context.Context, state *models.ListImagesModel, c *
|
||||
Bootable: state.Bootable,
|
||||
SortBy: state.SortBy,
|
||||
Page: state.Page,
|
||||
Enabled: state.Enabled,
|
||||
Size: state.Size,
|
||||
Timeouts: state.Timeouts,
|
||||
Id: types.StringValue(id.String()),
|
||||
|
||||
@@ -48,7 +48,6 @@ func ResourceImage(ctx context.Context, plan *models.ImageResourceModel, c *deco
|
||||
SepID: types.Int64Value(int64(image.SepID)),
|
||||
PoolName: types.StringValue(image.Pool),
|
||||
Architecture: types.StringValue(image.Architecture),
|
||||
Permanently: plan.Permanently,
|
||||
ImageId: types.Int64Value(int64(image.ID)),
|
||||
Timeouts: plan.Timeouts,
|
||||
Id: types.StringValue(strconv.Itoa(int(image.ID))),
|
||||
|
||||
@@ -33,7 +33,6 @@ func ResourceImageVirtual(ctx context.Context, plan *models.ImageVirtualResource
|
||||
*plan = models.ImageVirtualResourceModel{
|
||||
ImageName: types.StringValue(image.Name),
|
||||
LinkTo: types.Int64Value(int64(image.LinkTo)),
|
||||
Permanently: plan.Permanently,
|
||||
Timeouts: plan.Timeouts,
|
||||
Id: types.StringValue(strconv.Itoa(int(image.ID))),
|
||||
LastUpdated: plan.LastUpdated,
|
||||
|
||||
Reference in New Issue
Block a user