Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSI: fix timestamp from volume snapshot responses #12352

Merged
merged 2 commits into from
Mar 23, 2022

Commits on Mar 23, 2022

  1. csi: fix timestamp from volume snapshot responses

    Listing snapshots was incorrectly returning nanoseconds instead of
    seconds, and formatting of timestamps both list and create snapshot
    was treating the timestamp as though it were nanoseconds instead of
    seconds. This resulted in create timestamps always being displayed as
    zero values.
    
    Fix the unit conversion error in the command line and the incorrect
    extraction in the CSI plugin client code. Beef up the unit tests to
    make sure this code is actually exercised.
    tgross committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    0790862 View commit details
    Browse the repository at this point in the history
  2. Update command/volume_snapshot_list.go

    Co-authored-by: Seth Hoenig <seth.a.hoenig@gmail.com>
    tgross and shoenig committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    2116760 View commit details
    Browse the repository at this point in the history