From 107700dc9858db2dad935f12a8d16cd0bca89581 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Tue, 14 May 2019 13:12:10 +0200 Subject: [PATCH] update log messages --- cli/commands.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/commands.go b/cli/commands.go index 7a76fe8d..622620ae 100644 --- a/cli/commands.go +++ b/cli/commands.go @@ -95,7 +95,7 @@ func CreateCluster(c *cli.Context) error { // k3s server arguments // TODO: --port will soon be --api-port since we want to re-use --port for arbitrary port mappings if c.IsSet("port") { - log.Println("WARNING: As of v2.0.0 --port will be used for arbitrary port-mappings. It's original functionality can then be used via --api-port.") + log.Println("INFO: As of v2.0.0 --port will be used for arbitrary port mapping. Please use --api-port/-a instead for configuring the Api Port") } k3sServerArgs := []string{"--https-listen-port", c.String("api-port")} if c.IsSet("server-arg") || c.IsSet("x") { diff --git a/main.go b/main.go index 6d3b930e..64f670b9 100644 --- a/main.go +++ b/main.go @@ -78,7 +78,7 @@ func main() { // TODO: only --api-port, -a soon since we want to use --port, -p for the --publish/--add-port functionality Name: "api-port, a, port, p", Value: 6443, - Usage: "Map the Kubernetes ApiServer port to a local port (Note: --port/-p will have different functionality as of v2.0.0)", + Usage: "Map the Kubernetes ApiServer port to a local port (Note: --port/-p will be used for arbitrary port mapping as of v2.0.0, use --api-port/-a instead for setting the api port)", }, cli.IntFlag{ Name: "timeout, t",