Kong / Kong/priority-updater

doesn't work with Konnect, likely due to generated names

Open
#7 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
14
Forks
3
PR merge metrics
No merged PRs in 30d

Description

it gives this error:
`Error: "{ "message":"[string "-- This is generated code, DO NOT UPDATE!..."]:6: attempt to index a nil value", "request_id":"ce3c001a3f0c021be03de62bbc8e241c" }"`

I think this is because of things like this: https://github.com/Kong/priority-updater/blob/master/template/plugin/schema.lua#L6

We have removed those from other plugins that had them.

reported by : @akoshok1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with template/plugin/schema.lua at line 6 and reproduce the reported error against Konnect. Compare the generated-name declarations there with the plugin versions where they were removed, then verify that the generated plugin works without the nil-value error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.