[hyper-provider] update hypercli in vendor

This commit is contained in:
Jimmy Xu
2017-12-22 00:30:03 +08:00
parent 1b3d6eae82
commit a6a6267863
200 changed files with 451 additions and 675 deletions

View File

@@ -4,13 +4,13 @@ import (
"fmt"
"strings"
"github.com/hyperhq/hypercli/reference"
"github.com/docker/go-connections/tlsconfig"
"github.com/hyperhq/hypercli/reference"
)
func (s *Service) lookupV1Endpoints(repoName reference.Named) (endpoints []APIEndpoint, err error) {
var cfg = tlsconfig.ServerDefault
tlsConfig := &cfg
var cfg = tlsconfig.ServerDefault()
tlsConfig := cfg
nameString := repoName.FullName()
if strings.HasPrefix(nameString, DefaultNamespace+"/") {
endpoints = append(endpoints, APIEndpoint{