1.3.0
This commit is contained in:
@@ -71,6 +71,7 @@ func ResourceImage(ctx context.Context, plan *models.ImageResourceModel, c *clie
|
||||
ResID: types.StringValue(image.ResID),
|
||||
RescueCD: types.BoolValue(image.RescueCD),
|
||||
Size: types.Int64Value(int64(image.Size)),
|
||||
SnapshotID: types.StringValue(image.SnapshotID),
|
||||
Status: types.StringValue(image.Status),
|
||||
TechStatus: types.StringValue(image.TechStatus),
|
||||
Version: types.StringValue(image.Version),
|
||||
@@ -84,7 +85,7 @@ func ResourceImage(ctx context.Context, plan *models.ImageResourceModel, c *clie
|
||||
if diags != nil {
|
||||
tflog.Error(ctx, fmt.Sprint("Error flattenDrivers", diags))
|
||||
}
|
||||
plan.PresentTo, diags = types.ListValueFrom(ctx, types.Int64Type, image.PresentTo)
|
||||
plan.PresentTo, diags = types.MapValueFrom(ctx, types.Int64Type, image.PresentTo)
|
||||
if diags != nil {
|
||||
tflog.Error(ctx, fmt.Sprint("Error flattenPresentTo", diags))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user