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

Spring Cloud Config returns an empty string instead of an empty array #2746

Open
IvanKodak opened this issue Feb 12, 2025 · 2 comments
Open

Comments

@IvanKodak
Copy link

Describe the bug
After upgrading to the latest version of Spring Cloud Config, I encountered an issue where the cloud-config service returns an empty string ("") instead of an empty array ([]).

<spring-cloud.version>2024.0.0</spring-cloud.version>

Sample
Example:

config.yaml

network:
  urls: []

I expect to receive the following object:

{
  "network":{
    "urls":[]
  }
}

However, I receive this instead:

{
  "network":{
    "urls":""
  }
}

I noticed a similar issue in the past, which might be related to this problem as well.
#1572

Could you please investigate the cause of this issue as soon as possible?
Thanks in advance!

@DmytroShalaiev
Copy link

@spring-builds please
+1

@DmytroShalaiev
Copy link

@spencergibb fyi

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

No branches or pull requests

2 participants