Commit 41927bb9 authored by Andrew Mitchell's avatar Andrew Mitchell
Browse files

Updated examples to use new client, which has new capacity changes. Cannot run...

Updated examples to use new client, which has new capacity changes. Cannot run GetLog because capacity change is not in Kineticd yet.
parent d1f4c21a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ else(USE_LOCAL_KINETIC_CLIENT)
        kinetic_cpp_client
        PREFIX "vendor"
        GIT_REPOSITORY "https://github.com/Seagate/kinetic-cpp-client.git"
        GIT_TAG "729fd22a356d86bbce899a0d90eb160ff157ed4f"
        GIT_TAG "161c2b7005c7c2b33e6de8197869efb4454d000b"
        BUILD_IN_SOURCE 1
        INSTALL_COMMAND ""
    )
+3 −2
Original line number Diff line number Diff line
@@ -108,8 +108,9 @@ void dump_all_information(const DriveLog& drive_log) {

    printf("\n");

    printf("Capacity: %" PRIu64 " bytes remaining / %" PRIu64 " bytes\n\n",
        drive_log.capacity.remaining_bytes, drive_log.capacity.total_bytes);

    printf("Capacity: %" PRIu64 " nominal capcity,  %f %% full.\n\n",
        drive_log.capacity.nominal_capacity_in_bytes, drive_log.capacity.portion_full);

    printf("\n");