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 42307de commit 461f94fCopy full SHA for 461f94f
commands/commands.go
@@ -21,6 +21,7 @@ import (
21
"errors"
22
"net/http"
23
"os"
24
+ "runtime"
25
26
"github.com/apache/incubator-openwhisk-cli/wski18n"
27
"github.com/apache/incubator-openwhisk-client-go/whisk"
@@ -64,7 +65,7 @@ func SetupClientConfig(cmd *cobra.Command, args []string) error {
64
65
Version: Properties.APIVersion,
66
Insecure: Flags.Global.Insecure,
67
Host: Properties.APIHost,
- UserAgent: UserAgent + "/1.0 (" + Properties.CLIVersion + ")",
68
+ UserAgent: UserAgent + "/1.0 (" + Properties.CLIVersion + ") " + runtime.GOOS + " " + runtime.GOARCH,
69
AdditionalHeaders: AdditionalHeaders,
70
}
71
0 commit comments