Selaa lähdekoodia

libcontainerd: remove unused win32 errors (leftover from TP4)

These were added in 94d70d835500bec3b171425271916d3e40f29635 for Windows TP4,
but no longer used after 331c8a86d489e573fcbf1df3c4f813bbc3168624 removed
support for TP4.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 4 vuotta sitten
vanhempi
commit
9637be0e9d
1 muutettua tiedostoa jossa 0 lisäystä ja 10 poistoa
  1. 0 10
      libcontainerd/local/local_windows.go

+ 0 - 10
libcontainerd/local/local_windows.go

@@ -61,16 +61,6 @@ type container struct {
 	terminateInvoked bool
 }
 
-// Win32 error codes that are used for various workarounds
-// These really should be ALL_CAPS to match golangs syscall library and standard
-// Win32 error conventions, but golint insists on CamelCase.
-const (
-	CoEClassstring     = syscall.Errno(0x800401F3) // Invalid class string
-	ErrorNoNetwork     = syscall.Errno(1222)       // The network is not present or not started
-	ErrorBadPathname   = syscall.Errno(161)        // The specified path is invalid
-	ErrorInvalidObject = syscall.Errno(0x800710D8) // The object identifier does not represent a valid object
-)
-
 // defaultOwner is a tag passed to HCS to allow it to differentiate between
 // container creator management stacks. We hard code "docker" in the case
 // of docker.