We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e281bd commit 552febbCopy full SHA for 552febb
main.go
@@ -6,6 +6,7 @@ package main
6
7
import (
8
"flag"
9
+ "fmt"
10
"log"
11
"time"
12
@@ -58,8 +59,13 @@ func main() {
58
59
flag.BoolVar(&operator, "operator", false, "Use the operator mode instead of faas-netes")
60
flag.Parse()
61
62
+ mode := "controller"
63
+ if operator {
64
+ mode = "operator"
65
+ }
66
sha, release := version.GetReleaseInfo()
- log.Printf("Version: %s\tcommit: %s\n", release, sha)
67
+ fmt.Printf("faas-netes - Community Edition (CE)\n"+
68
+ "\nVersion: %s Commit: %s Mode: %s\n", release, sha, mode)
69
70
clientCmdConfig, err := clientcmd.BuildConfigFromFlags(masterURL, kubeconfig)
71
if err != nil {
0 commit comments