Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/hcsshim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9fa829e0f798a13b567435ac1b6368317dcb3556
Choose a base ref
...
head repository: microsoft/hcsshim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8420138322366298af23f2d1a822bbc11e043ca0
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Jan 13, 2022

  1. Add ErrInvalidHandle and fix list stats

    When querying the stats of a container that is in the process of being
    stopped, an ERROR_INVALID_HANDLE (0x6) may be returned. This change
    ignores that error and returns an empty stats object.
    
    This change also fixes the return values of Stats() when encountering
    one of the expected errors. Returning nil stats when error is nil will
    break caller assumptions of finding a valid value when error is nil.
    Instead, an ErrNotFound is returned.
    
    Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
    gabriel-samfira committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    8420138 View commit details
    Browse the repository at this point in the history
Loading