Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-2481

NetObserv CLI: Removes tmp directory in your current directory

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • netobserv-1.10.1
    • None
    • CLI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • NetObserv - Sprint 280
    • None
    • None
    • Previously, Network Observability CLI used to create or use "tmp" directory in the current working directory. Now with this change, it creates a new tmp directory for each run.

      Run the oc-netobserv script, such as `oc netobserv flows`.  If you happen to have a "tmp" directory in the directory where you're running this script, it removes that directory and all files under it!

      In the oc-netobserv script, it has:

      MANIFEST_OUTPUT_PATH="tmp"
      ...
      function check_args_and_apply() {
        ...
        rm -rf ${MANIFEST_OUTPUT_PATH}
      }
      
      

      This issue is in 1.8, 1.9, 1.10, and possibly earlier versions.

              rhn-support-memodi Mehul Modi
              stlee@redhat.com Steven Lee
              None
              None
              None
              Julien Pinsonneau Julien Pinsonneau
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: