- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for EXIT (0.03 sec)
-
cmd/signals.go
} func handleSignals() { // Custom exit function exit := func(success bool) { if globalLoggerOutput != nil { globalLoggerOutput.Close() } // If global profiler is set stop before we exit. globalProfilerMu.Lock() defer globalProfilerMu.Unlock() for _, p := range globalProfiler { p.Stop() } if success { os.Exit(0) } os.Exit(1) } stopProcess := func() bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/tests_test.go
log.Printf("failed to connect database, got error %v", err) os.Exit(1) } else { sqlDB, err := DB.DB() if err != nil { log.Printf("failed to connect database, got error %v", err) os.Exit(1) } err = sqlDB.Ping() if err != nil { log.Printf("failed to ping sqlDB, got error %v", err) os.Exit(1) } RunMigrations() } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
echo "BUG: ILM expiry rules prefix not replicated to 'siteb'" exit 1 fi if [ "${ntagName1}" != "ntag1" ] || [ "${ntagVal1}" != "nval1" ] || [ "${ntagName2}" != "ntag2" ] || [ "${ntagVal2}" != "nval2" ]; then echo "BUG: ILM expiry rules tags not replicated to 'siteb'" exit 1 fi if [ "${st}" != "Disabled" ]; then echo "BUG: ILM expiry rules status not replicated to 'siteb'" exit 1 fi
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/distributed/iam-import-with-missing-entities.sh
mc -v # Start LDAP server echo "Copying docs/distributed/samples/bootstrap-complete.ldif => minio-iam-testing/ldap/50-bootstrap.ldif" cp docs/distributed/samples/bootstrap-complete.ldif minio-iam-testing/ldap/50-bootstrap.ldif || exit 1 cd ./minio-iam-testing make docker-images make docker-run cd - export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:22000" export MC_HOST_myminio1="http://minioadmin:minioadmin@localhost:24000"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:59:00 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/distributed/iam-import-with-openid.sh
if [ "${BKT_COUNT}" -ne 1 ]; then echo "BUG: Expected no of bucket: 1, Found: ${BKT_COUNT}" exit 1 fi BKT_NAME=$(./mc ls myminio1/ --json | jq '.key' | sed 's/"//g' | sed 's\/\\g') if [[ ${BKT_NAME} != "test-bucket" ]]; then echo "BUG: Expected bucket: test-bucket, Found: ${BKT_NAME}" exit 1 fi ./mc ls myminio1/test-bucket OBJ_COUNT=$(./mc ls myminio1/test-bucket --json | jq '.key' | wc -l)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 2.3K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi trap 'catch $LINENO' ERR function purge() { rm -rf "$1" } # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/bucket/replication/delete-replication.sh
if [ "$out" != "" ]; then echo "BUG: non versioned listing should not show pending/failed replicated delete:" echo "$out" exit 1 fi out="$(./mc ls --versions myminio1/foobucket/dir/)" if [ "$out" != "" ]; then echo "BUG: versioned listing should not show pending/failed replicated deletes:" echo "$out" exit 1 fi echo "Success"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/bucket/replication/setup_2site_existing_replication.sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 5.6K bytes - Viewed (0) -
mvnw
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:24:15 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
# Dependencies with yield FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>. To do this, use `yield` instead of `return`, and write the extra steps (code) after. /// tip Make sure to use `yield` one single time per dependency. /// /// note | "Technical Details"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14K bytes - Viewed (0)