Skip to content

[Bug] Update function using package manager response 400 Bad Request #21931

@truong-hua

Description

@truong-hua

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.11.3

Minimal reproduce step

  • Create a function using package from package manager
  • Update the function (ex: change parallelism from 1 to 2)

Example payload:

------WebKitFormBoundary6hEdIldTcUATSkDo
Content-Disposition: form-data; name="functionConfig"; filename="blob"
Content-Type: application/json

{"parallelism":1,"cleanupSubscription":true}
------WebKitFormBoundary6hEdIldTcUATSkDo--

What did you expect to see?

Response 200 and function successfully updated

What did you see instead?

Response 400 with error:

{
    "reason": "Invalid stream name : 'Invalid log name \"/function://public/default/package-pulsar@82804.0\" caused by empty node name specified @11'"
}

Anything else?

This does not happen when update a function which is not using package from package manager (package manager disabled)

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions