Skip to content

feat: generate create/update_time automatically#2740

Merged
moonming merged 2 commits into
apache:masterfrom
spacewander:ts
Nov 15, 2020
Merged

feat: generate create/update_time automatically#2740
moonming merged 2 commits into
apache:masterfrom
spacewander:ts

Conversation

@spacewander

Copy link
Copy Markdown
Member

Close #2654.

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible?

Comment thread apisix/admin/consumers.lua Outdated
else
utils.inject_timestamp(conf, res.body)
end

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could put them in a function too,what do you think?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nic-chen
Changed.

@spacewander spacewander added this to the 2.1 milestone Nov 14, 2020
@moonming
moonming merged commit da4e12e into apache:master Nov 15, 2020
@moonming moonming mentioned this pull request Nov 29, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: there is no "createtime" when creating a consumer by adminAPI, which causes dashboard to display wrong "Update Time"

4 participants