Is there a way to stop/disable a Google Cloud Function?

前端 未结 5 986
無奈伤痛
無奈伤痛 2021-02-12 14:40

I have running multiple Google Cloud functions. One is not operating well, so I want to stop them until I\'ve fixed the situation.

I have seen that I can remove the func

5条回答
  •  面向向阳花
    2021-02-12 15:07

    You cannot disable a function. Just comment the function body. It would be a good practice to log the call in the console and then return null so you can keep track whenever the function is invoked.

提交回复
热议问题