hostinfo: capitalization of AWS

Missed one comment from https://github.com/tailscale/tailscale/pull/1868
should be isAWSLambda not isAwsLambda

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2021-06-14 14:52:57 -07:00 committed by Denton Gentry
parent 4b71291cdb
commit 857bc4a752

View File

@ -62,7 +62,7 @@ func osVersionLinux() string {
if inKnative() {
attrBuf.WriteString("; env=kn")
}
if inAwsLambda() {
if inAWSLambda() {
attrBuf.WriteString("; env=lm")
}
if inHerokuDyno() {
@ -131,7 +131,7 @@ func inKnative() bool {
return false
}
func inAwsLambda() bool {
func inAWSLambda() bool {
// https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html
if os.Getenv("AWS_LAMBDA_FUNCTION_NAME") != "" &&
os.Getenv("AWS_LAMBDA_FUNCTION_VERSION") != "" &&