Move all kubernetes to posix flags

This commit is contained in:
Joe Beda
2015-01-13 11:22:02 -08:00
parent b9dd9c4f6c
commit dcd00c936e
16 changed files with 45 additions and 15 deletions

View File

@@ -17,7 +17,6 @@ limitations under the License.
package main
import (
"flag"
"net"
"net/http"
"strconv"
@@ -33,6 +32,8 @@ import (
_ "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/algorithmprovider"
"github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/factory"
"github.com/golang/glog"
flag "github.com/spf13/pflag"
)
var (
@@ -47,6 +48,7 @@ func init() {
}
func main() {
util.AddAllFlagsToPFlags()
flag.Parse()
util.InitLogs()
defer util.FlushLogs()