Skip to content

Commit

Permalink
Merge pull request #211 from black-dragon74/fix-collection-time
Browse files Browse the repository at this point in the history
Fix collection time
  • Loading branch information
openshift-merge-bot[bot] authored Nov 15, 2024
2 parents 7922423 + 5c8c7f8 commit 6ef717b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions collection-scripts/gather
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,6 @@ mkdir -p ${BASE_COLLECTION_PATH}
# Parse the ENV for collection filters
parse_since_time

# timestamp for starting of the script
START_TIME=$(date +%r)
start=$(date +%s)
dbglog "collection started at: ${START_TIME}"

# Print and export must-gather pod details
export_pod_image_details

Expand All @@ -149,6 +144,11 @@ fi
# Call pre-install.sh, see commit msg
pre-install.sh ${BASE_COLLECTION_PATH}

# timestamp for starting of the script
START_TIME=$(date +%r)
start=$(date +%s)
dbglog "collection started at: ${START_TIME}"

# Process the options
if [ "$odf" == true ]; then
echo "Collect ODF logs..."
Expand Down

0 comments on commit 6ef717b

Please sign in to comment.