File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ internal void CleanBucketAsync()
85
85
. WithObject ( item . Key ) ;
86
86
await minioClient . RemoveObjectAsync ( deletObjectsArgs ) . ConfigureAwait ( false ) ;
87
87
count ++ ;
88
- } ) ;
89
-
88
+ } ,
89
+ ex => Console . WriteLine ( $ "Error listing objects: { ex } ") ,
90
+ ( ) => Console . WriteLine ( $ "Listed all objects in bucket { _options . Storage . StorageServiceBucketName } \n ") ) ;
90
91
stopwatch . Stop ( ) ;
91
92
_outputHelper . WriteLine ( $ "Cleaned up { 0 } objects from Minio in { 1 } s...", count , stopwatch . Elapsed . TotalSeconds ) ;
92
93
}
Original file line number Diff line number Diff line change @@ -151,10 +151,12 @@ function save_logs() {
151
151
}
152
152
153
153
function tear_down() {
154
+ set +e
154
155
pushd $DOCKER_COMPOSE_DIR
155
156
info " Stopping services..."
156
157
docker compose down --remove-orphans
157
158
popd
159
+ set -e
158
160
}
159
161
160
162
function main() {
You can’t perform that action at this time.
0 commit comments