Skip to content

DefaultEnvironment should honor the order of environment names #523

Closed
@thiagolocatelli

Description

@thiagolocatelli

DefaultEnvironment, line 127 is using Set<String> specifiedNames to store the environment names.

By using Set<String> the order of the environment names provided by the developer is not being honored. List<String> should be used instead.

(I am implementing a discovery client for Spring Cloud config server and the order provided matters to the server, issue #501 - link).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions