Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Don't use deprecated concat stdlib function #1281

Open
jangaraj opened this issue Feb 27, 2025 · 1 comment · May be fixed by #1285
Open

[v2] Don't use deprecated concat stdlib function #1281

jangaraj opened this issue Feb 27, 2025 · 1 comment · May be fixed by #1285
Assignees

Comments

@jangaraj
Copy link

I'm getting warning:

{
"ts":"2025-02-27T15:25:52.518772427Z",
"level":"warn",
"msg":"this stdlib function is deprecated; please refer to the documentation for updated usage and alternatives",
"controller_path":"/",
"controller_id":"annotation_autodiscovery.feature",
"function":"concat"
}

It looks like concat is still used, for example:

targets = concat(discovery.relabel.annotation_autodiscovery_pods.output, discovery.relabel.annotation_autodiscovery_services.output)

I think it should be replaced by array.concat instead.

@petewall petewall self-assigned this Feb 28, 2025
@petewall
Copy link
Collaborator

PR in process.

@petewall petewall linked a pull request Feb 28, 2025 that will close this issue
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 a pull request may close this issue.

2 participants