Skip to content

Commit

Permalink
move pkg/proxy/server to cmd/kube-proxy/app
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Feb 20, 2015
1 parent 9f14511 commit 8c2ff81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/hyperkube/hyperkube.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ package main
import (
"os"

proxy "github.com/GoogleCloudPlatform/kubernetes/cmd/kube-proxy/app"
"github.com/GoogleCloudPlatform/kubernetes/pkg/controllermanager"
"github.com/GoogleCloudPlatform/kubernetes/pkg/hyperkube"
apiserver "github.com/GoogleCloudPlatform/kubernetes/pkg/master/server"
proxy "github.com/GoogleCloudPlatform/kubernetes/pkg/proxy/server"
sched "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/server"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/proxy/server/server.go → cmd/kube-proxy/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package server does all of the work necessary to configure and run a
// Kubernetes proxy process.
package server
// Package app does all of the work necessary to configure and run a
// Kubernetes app process.
package app

import (
"net"
Expand Down
4 changes: 2 additions & 2 deletions cmd/kube-proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"runtime"

"github.com/GoogleCloudPlatform/kubernetes/pkg/proxy/server"
"github.com/GoogleCloudPlatform/kubernetes/cmd/kube-proxy/app"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/GoogleCloudPlatform/kubernetes/pkg/version/verflag"

Expand All @@ -30,7 +30,7 @@ import (

func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
s := server.NewProxyServer()
s := app.NewProxyServer()
s.AddFlags(pflag.CommandLine)

util.InitFlags()
Expand Down

0 comments on commit 8c2ff81

Please sign in to comment.