Skip to content

Commit 31bbf55

Browse files
leonwanghuipmorie
authored andcommitted
Rename the imported package to avoid name conflict (openshift#1603)
1 parent 3cdd556 commit 31bbf55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cmd/apiserver/app/server/run_server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"github.com/golang/glog"
2828
"github.com/kubernetes-incubator/service-catalog/pkg/apiserver"
2929
"github.com/kubernetes-incubator/service-catalog/pkg/apiserver/options"
30-
"github.com/kubernetes-incubator/service-catalog/pkg/registry/servicecatalog/server"
30+
registryserver "github.com/kubernetes-incubator/service-catalog/pkg/registry/servicecatalog/server"
3131
)
3232

3333
// RunServer runs an API server with configuration according to opts
@@ -47,7 +47,7 @@ func RunServer(opts *ServiceCatalogServerOptions, stopCh <-chan struct{}) error
4747
return err
4848
}
4949

50-
if storageType == server.StorageTypeEtcd {
50+
if storageType == registryserver.StorageTypeEtcd {
5151
return runEtcdServer(opts, stopCh)
5252
}
5353
// This should never happen, catch for potential bugs

0 commit comments

Comments
 (0)