Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

[BUG]: Calling an update for a function does not seem to update the function #142

Closed
joas8211 opened this issue Jan 30, 2022 · 3 comments
Closed

Comments

@joas8211
Copy link

Description

When I try to update a function through M3O Console, the call returns an empty JSON-object. I then call Describe to see what the status of the deployment is, but the status is still Active and only updated property has been changed. When I call the function by requesting it with my browser using the URL I still get the same response as I did with the previous version. So the function has not been updated.

Screenshots

No response

Additional information

Function description:

{
    "function": {
        "id": "papu",
        "name": "papu",
        "repo": "https://github.com/joas8211/papu-api",
        "branch": "master",
        "entrypoint": "handle",
        "subfolder": "",
        "runtime": "nodejs16",
        "region": "europe-west1",
        "env_vars": {},
        "status": "Active",
        "url": "https://papu.m3o.sh",
        "created": "2022-01-29T21:07:29.873392361Z",
        "updated": "2022-01-30T09:34:16.344030724Z"
    }
}
@asim
Copy link
Member

asim commented Jan 30, 2022

Thanks for reporting. I know what the issue is. I'll push a fix tomorrow.

@asim
Copy link
Member

asim commented Jan 30, 2022

Had a bit of time, bug fix should be out now. Please test and let me know how it goes.

@joas8211
Copy link
Author

Thanks for the quick reaction. It is working now 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants