Skip to content

Commit b2a4306

Browse files
committed
Correct spelling mistake
1 parent 24be6ae commit b2a4306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/delete-vms-without-cmek/function_source/cmek.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func init() {
4949
}
5050
}
5151

52-
func RecieveMessage(ctx context.Context, msg *pubsub.Message) error {
52+
func ReceiveMessage(ctx context.Context, msg *pubsub.Message) error {
5353
var event creationEvent
5454
json.Unmarshal([]byte(msg.Data), &event)
5555
labels := event.Resource.Labels

examples/delete-vms-without-cmek/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module "localhost_function" {
4646
source = "../.."
4747

4848
description = "Deletes VMs created with disks not encrypted with CMEK"
49-
entry_point = "RecieveMessage"
49+
entry_point = "ReceiveMessage"
5050
runtime = "go111"
5151
timeout_s = "240"
5252

0 commit comments

Comments
 (0)