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"
"fmt"
"io/ioutil"
"os"
@@ -35,6 +34,8 @@ import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/golang/glog"
flag "github.com/spf13/pflag"
)
var (
@@ -699,6 +700,7 @@ func TestPodHasServiceEnvVars(c *client.Client) bool {
}
func main() {
util.AddAllFlagsToPFlags()
flag.Parse()
goruntime.GOMAXPROCS(goruntime.NumCPU())
util.ReallyCrash = true