Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Remove landscapes environments #188

Conversation

fabriziosestito
Copy link
Member

Removes landscapes and environments from internal packages, html templates and web handlers.
Some refactor was required for the SAPSystemHandler detail view which was based on env and landscapes.

fabriziosestito and others added 8 commits August 4, 2021 10:13
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
…ate tests

Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Co-authored-by: Rubén Torrero Marijnissen <rtorreromarijnissen@suse.com>
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

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

@fabriziosestito @rtorrero
Looks great! A nice cleanup hehe

return nil, errors.Wrap(err, "could not get the filters")
}
for _, host := range hostList {
for _, s := range strings.Split(host.TrentoMeta()["trento-sap-systems"], ",") {
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess there is not any function to remove duplicated values, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

nope, for what i know this is the idiomatic way to create sets

@fabriziosestito fabriziosestito merged commit 9992471 into trento-project:main Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants