Revendor hcsshim and go-tar
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
committed by
Derek McGowan
parent
967caeeacc
commit
444e4220c2
3
vendor/github.com/Microsoft/hcsshim/hnsnetwork.go
generated
vendored
3
vendor/github.com/Microsoft/hcsshim/hnsnetwork.go
generated
vendored
@@ -2,7 +2,6 @@ package hcsshim
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
@@ -90,7 +89,7 @@ func GetHNSNetworkByName(networkName string) (*HNSNetwork, error) {
|
||||
return &hnsnetwork, nil
|
||||
}
|
||||
}
|
||||
return nil, fmt.Errorf("Network %v not found", networkName)
|
||||
return nil, NetworkNotFoundError{NetworkName: networkName}
|
||||
}
|
||||
|
||||
// Create Network by sending NetworkRequest to HNS.
|
||||
|
||||
Reference in New Issue
Block a user