Actually use the version of libcontainer godep thinks we are using

When libcontainer was added it was apparently not actually the version
of libcontainer it portends to be.  One line was removed from
libcontainer in Godeps which is present in the upstream tree.

This was likely done as it required a definition in a different package
which was not in our tree (and was vendored into libcontainer upstream)

We would be wise to have a test to see if package versions in Godep are
actually the packages they say they are...
This commit is contained in:
Eric Paris 2015-08-03 13:39:50 -04:00
parent 70328d6c37
commit 67dbc4c6a6

View File

@ -49,6 +49,7 @@ var capabilityList = map[string]capability.Cap{
"SETFCAP": capability.CAP_SETFCAP,
"WAKE_ALARM": capability.CAP_WAKE_ALARM,
"BLOCK_SUSPEND": capability.CAP_BLOCK_SUSPEND,
"AUDIT_READ": capability.CAP_AUDIT_READ,
}
func newCapWhitelist(caps []string) (*whitelist, error) {