Skip to content

Commit

Permalink
Fix build issue from server info refactor (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjala authored Jan 19, 2024
1 parent 698ed84 commit c8e0237
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rest_vol_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ RV_attr_create(void *obj, const H5VL_loc_params_t *loc_params, const char *attr_

/* Form the Datatype portion of the Attribute create request */
if (RV_convert_datatype_to_JSON(type_id, &datatype_body, &datatype_body_len, FALSE,
parent->domain->u.file.server_version) < 0)
parent->domain->u.file.server_info.version) < 0)
FUNC_GOTO_ERROR(H5E_DATATYPE, H5E_CANTCONVERT, NULL,
"can't convert attribute's datatype to JSON representation");

Expand Down
2 changes: 1 addition & 1 deletion src/rest_vol_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -3690,7 +3690,7 @@ RV_setup_dataset_create_request_body(void *parent_obj, const char *name, hid_t t

/* Form the Datatype portion of the Dataset create request */
if (RV_convert_datatype_to_JSON(type_id, &datatype_body, &datatype_body_len, FALSE,
pobj->domain->u.file.server_version) < 0)
pobj->domain->u.file.server_info.version) < 0)
FUNC_GOTO_ERROR(H5E_DATASET, H5E_CANTCONVERT, FAIL,
"can't convert dataset's datatype to JSON representation");

Expand Down
2 changes: 1 addition & 1 deletion src/rest_vol_datatype.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ RV_datatype_commit(void *obj, const H5VL_loc_params_t *loc_params, const char *n

/* Convert the datatype into JSON to be used in the request body */
if (RV_convert_datatype_to_JSON(type_id, &datatype_body, &datatype_body_len, FALSE,
parent->domain->u.file.server_version) < 0)
parent->domain->u.file.server_info.version) < 0)
FUNC_GOTO_ERROR(H5E_DATATYPE, H5E_CANTCONVERT, NULL, "can't convert datatype to JSON representation");

/* If this is not a H5Tcommit_anon call, create a link for the Datatype
Expand Down

0 comments on commit c8e0237

Please sign in to comment.