Skip to content

Delete ES element.#733

Open
fabricematrat wants to merge 3 commits intojuju:v5-unstablefrom
fabricematrat:240-delete-entity-ES
Open

Delete ES element.#733
fabricematrat wants to merge 3 commits intojuju:v5-unstablefrom
fabricematrat:240-delete-entity-ES

Conversation

@fabricematrat
Copy link
Contributor

No description provided.

@jujugui
Copy link
Contributor

jujugui commented Mar 3, 2017

Refer to this link for build results (access rights to CI server needed):
http://ci-cge.jujugui.org:8080//job/charmstore/2084/

Copy link
Contributor

@mhilton mhilton left a comment

Choose a reason for hiding this comment

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

LGTM with one comment

}
}

if s.ES == nil || s.ES.Database == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

you don't need to do this check in both places, just call s.ES.delete and let it return nil if its not configured.

Copy link
Contributor

@urosj urosj left a comment

Choose a reason for hiding this comment

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

When charm/5 is deleted, charm/4 needs to be reindexed. We have to keep the promise of indexing the last revision/

@jujugui
Copy link
Contributor

jujugui commented Mar 3, 2017

Refer to this link for build results (access rights to CI server needed):
http://ci-cge.jujugui.org:8080//job/charmstore/2085/

@jujugui
Copy link
Contributor

jujugui commented Mar 3, 2017

Refer to this link for build results (access rights to CI server needed):
http://ci-cge.jujugui.org:8080//job/charmstore/2086/

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.

4 participants