[Vendor] Bumpup hcsshim version from v0.8.25 to v0.8.26.
This commit is contained in:
12
vendor/github.com/Microsoft/hcsshim/hcn/hcn.go
generated
vendored
12
vendor/github.com/Microsoft/hcsshim/hcn/hcn.go
generated
vendored
@@ -264,6 +264,18 @@ func SetPolicySupported() error {
|
||||
return platformDoesNotSupportError("SetPolicy")
|
||||
}
|
||||
|
||||
// ModifyLoadbalancerSupported returns an error if the HCN version does not support ModifyLoadbalancer.
|
||||
func ModifyLoadbalancerSupported() error {
|
||||
supported, err := GetCachedSupportedFeatures()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if supported.ModifyLoadbalancer {
|
||||
return nil
|
||||
}
|
||||
return platformDoesNotSupportError("ModifyLoadbalancer")
|
||||
}
|
||||
|
||||
// VxlanPortSupported returns an error if the HCN version does not support configuring the VXLAN TCP port.
|
||||
func VxlanPortSupported() error {
|
||||
supported, err := GetCachedSupportedFeatures()
|
||||
|
||||
Reference in New Issue
Block a user