Remove cleaning up of CHE_DATA/lib folder in entrypoint.sh (#9553)

6.19.x
Mykhailo Kuznietsov 2018-05-03 09:51:58 +03:00 committed by GitHub
parent b354756706
commit e8b471ee45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -260,9 +260,6 @@ init() {
[ -z "$CHE_WORKSPACE_STORAGE" ] && export CHE_WORKSPACE_STORAGE="${CHE_DATA_HOST}/workspaces"
[ -z "$CHE_WORKSPACE_STORAGE_CREATE_FOLDERS" ] && export CHE_WORKSPACE_STORAGE_CREATE_FOLDERS=false
#Recursively removes the legacy che-data/lib folder with agents inside(will be removed in future versions)
rm -rf ${CHE_DATA}/lib
# Cleanup no longer in use stacks folder, accordance to a new loading policy.
if [[ -d "${CHE_DATA}"/stacks ]];then
rm -rf "${CHE_DATA}"/stacks