Skip to content

Bump go-winio and refactor Windows snapshotters#3385

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
ehotinger:ehotinger/refactor-winio
Jul 2, 2019
Merged

Bump go-winio and refactor Windows snapshotters#3385
crosbymichael merged 1 commit intocontainerd:masterfrom
ehotinger:ehotinger/refactor-winio

Conversation

@ehotinger
Copy link
Copy Markdown
Contributor

This PR bumps the version of go-winio to the latest commit and refactors the lcow and windows snapshotters to use go-winio's utility functions for checking the filesystem type. This means other folks like myself can write more windows-based snapshotters without copy/pasting this code everywhere.

It seems there is one breaking change in the EnableCallback func in microsoft/go-winio@a2a7cd6#diff-affd4dec288883c3d72b7e20004dfae5 - hence the changes to etwCallback.

This PR closes #3362

@kevpar / @jterry75 / @jhowardmsft PTAL.

Signed-off-by: Eric Hotinger [email protected]

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 1, 2019

Build succeeded.

This also refactors the lcow and windows
snapshotters to use go-winio's utility functions for checking the
filesystem type.

Signed-off-by: Eric Hotinger <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 1, 2019

Build succeeded.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #3385 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3385   +/-   ##
=======================================
  Coverage   45.05%   45.05%           
=======================================
  Files         113      113           
  Lines       12563    12563           
=======================================
  Hits         5660     5660           
  Misses       6049     6049           
  Partials      854      854
Flag Coverage Δ
#linux 48.98% <ø> (ø) ⬆️
#windows 40.27% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6617def...9fda4a5. Read the comment docs.

@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crosbymichael crosbymichael merged commit 3ce077e into containerd:master Jul 2, 2019
@ehotinger ehotinger deleted the ehotinger/refactor-winio branch July 2, 2019 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows snapshotters: make utility functions public/refactor

4 participants