Skip to content

Commit 21dcb2a

Browse files
author
eversC
committed
Remove Lambda check from main pkg
1 parent 1adfc62 commit 21dcb2a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ func main() {
5353
}
5454
}
5555

56-
//isLambda returns true if the AWS_LAMBDA_FUNCTION_NAME env var is set
57-
// func isLambda() (isLambda bool) {
58-
// return len(os.Getenv("AWS_LAMBDA_FUNCTION_NAME")) > 0
59-
// }
60-
6156
//getEnv returns the value of the env var matching the key, if it exists, and
6257
// the value of fallback otherwise
6358
func getEnv(key, fallback string) string {

0 commit comments

Comments
 (0)