Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typings (0.15 sec)

  1. common/scripts/tracing.sh

      # Disable execution tracing to avoid noise
      { [[ $- = *x* ]] && was_execution_trace=1 || was_execution_trace=0; } 2>/dev/null
      { set +x; } 2>/dev/null
      # Throughout, "local" usage is critical to avoid nested calls overwriting things
      local start
      start="$(date -u +%s.%N)"
      # First, get a trace and span ID. We need to get one now so we can propagate it to the child
      # Get trace ID from TRACEPARENT, if present
      local tid
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. buildscripts/disable-root.sh

    		chmod +x mc
    fi
    
    set +e
    
    export MC_HOST_minioadm=http://minioadmin:minioadmin@localhost:9100/
    
    ./mc ls minioadm/
    
    ./mc admin config set minioadm/ api root_access=off
    
    sleep 3s # let things settle a little
    
    ./mc ls minioadm/
    if [ $? -eq 0 ]; then
    	echo "listing succeeded, 'minioadmin' was not disabled"
    	exit 1
    fi
    
    set -e
    
    killall -9 minio
    
    export MINIO_API_ROOT_ACCESS=on
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top