[ 
https://issues.apache.org/jira/browse/FALCON-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226497#comment-14226497
 ] 

Balu Vellanki commented on FALCON-911:
--------------------------------------

My understanding is that deletes are supposed to succeed on a non-existing 
entity to support idempotent operations in Prism mode. 

> Fix misleading "success" information when the entity is removed using CLI
> -------------------------------------------------------------------------
>
>                 Key: FALCON-911
>                 URL: https://issues.apache.org/jira/browse/FALCON-911
>             Project: Falcon
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.7
>            Reporter: Adam Kawa
>            Priority: Minor
>
> It looks that when removing entity using CLI, you always get "success" 
> message:
> {code}
> $ falcon entity -type feed -delete -name a-feed-that-does-not-exist-feed
> falcon/a-feed-that-does-not-exist-feed(feed) removed successfully
> {code}
> This is misleading, because when you make a typo in a entity name or a 
> mistake in entity type, then you don't get any ERROR and the command silently 
> succeeds with a wrong message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to