Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1156

Misleading error message while deleting entity which does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.6.1
    • None
    • feed, prism, process
    • None

    Description

      While deleting any entity (cluster/feed/process) which does not exist, the response message from server is entity removed successfully.

      dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -list
      (PROCESS) NewPrismProcessUpdateTest--agregator-coord16-1b95f577
      
      dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type process -delete -name pxyz
      falcon/pxyz(process) removed successfully
      prism/pxyz(process) doesn't exist. Nothing to do
      
      dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -list
      (FEED) NewPrismProcessUpdateTest--raaw-logs16-fb861a10
      (FEED) NewPrismProcessUpdateTest--agregated-logs16-a4b247a5
      
      dataqa@ip-192-168-138-200:/mnt/git/falcon/falconPrism/bin$ ./falcon entity -type feed -delete -name fxyz
      falcon/fxyz(feed) removed successfully
      prism/fxyz(feed) doesn't exist. Nothing to do
      

      Attachments

        Issue Links

          Activity

            People

              ajayyadava Ajay Yadav
              pragya.mittal Pragya Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: