Skip to content

Commit

Permalink
Made changes based on Arsenii's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Pohl committed Mar 2, 2021
1 parent a04204a commit d38b658
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/checkForUpdates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ function updateContainers {
}

function getContainerImageNames {
docker ps -a | awk '{ print $2 }'
docker ps -a --format '{{.Image}}'
}

function grabAndParseVersionFile {
wget -O "$DIR/versionFile" $VERSION_FILE
export $(grep -v '^#' "$DIR/versionFile" | xargs)
source "$DIR/versionFile"

# Print versions
echo "Oracle version = $DOCKER_IMAGE_ORACLE_VERSION"
Expand All @@ -31,8 +31,6 @@ function versionComp {
else
return 1
fi

return 0
}

function checkContainers {
Expand Down

0 comments on commit d38b658

Please sign in to comment.