Cleanup some low-hanging fruits and review TODOs

This commit is contained in:
Ilya Dmitrichenko
2016-09-19 20:05:14 +01:00
parent 9eeae34581
commit 0f05ccb019
16 changed files with 96 additions and 144 deletions

View File

@@ -17,14 +17,16 @@ limitations under the License.
package main
import (
"fmt"
"os"
"k8s.io/kubernetes/cmd/kubeadm/app"
)
// TODO(phase1): check for root
// TODO(phase1+): check for root
func main() {
if err := app.Run(); err != nil {
fmt.Printf(app.AlphaWarningOnExit)
os.Exit(1)
}
os.Exit(0)