mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Move all kubernetes to posix flags
This commit is contained in:
@@ -19,7 +19,6 @@ limitations under the License.
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"net/http"
|
||||
@@ -54,6 +53,7 @@ import (
|
||||
|
||||
"github.com/coreos/go-etcd/etcd"
|
||||
"github.com/golang/glog"
|
||||
flag "github.com/spf13/pflag"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -563,6 +563,7 @@ func runServiceTest(client *client.Client) {
|
||||
type testFunc func(*client.Client)
|
||||
|
||||
func main() {
|
||||
util.AddAllFlagsToPFlags()
|
||||
flag.Parse()
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
util.ReallyCrash = true
|
||||
|
Reference in New Issue
Block a user