Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 218 for isSuccess (0.05 seconds)

  1. 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)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 04 17:02:39 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. cmd/batch-rotate.go

    			for attempts := 1; attempts <= retryAttempts; attempts++ {
    				stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts)
    				success := true
    				if err := r.KeyRotate(ctx, api, result); err != nil {
    					stopFn(result, err)
    					batchLogIf(ctx, err)
    					success = false
    					if attempts >= retryAttempts {
    						auditOptions := AuditLogOptions{
    							Event:     "KeyRotate",
    							APIName:   "StartBatchJob",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. cmd/handler-utils.go

    		hostName = r.Host
    	}
    	return hostName
    }
    
    // Proxy any request to an endpoint.
    func proxyRequest(ctx context.Context, w http.ResponseWriter, r *http.Request, ep ProxyEndpoint, returnErr bool) (success bool) {
    	success = true
    
    	// Make sure we remove any existing headers before
    	// proxying the request to another node.
    	for k := range w.Header() {
    		w.Header().Del(k)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.unindent();
            } else if (!result.modifiedPoms().isEmpty()) {
                context.success("Strategy completed successfully");
                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.success("Modified: " + result.modifiedPoms().size() + " POMs");
                context.unindent();
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. cmd/server-main_test.go

    			sctx := &serverCtxt{}
    			err := mergeServerCtxtFromConfigFile(testcase.config, sctx)
    			if testcase.expectedErr && err == nil {
    				t.Error("expected failure, got success")
    			}
    			if !testcase.expectedErr && err != nil {
    				t.Error("expected success, got failure", err)
    			}
    			if err == nil {
    				if len(sctx.Layout.pools) != 2 {
    					t.Error("expected parsed pools to be 2, not", len(sctx.Layout.pools))
    				}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. cmd/global-heal.go

    					// proceed to heal nonetheless.
    					entry, _ = entries.firstFound()
    				}
    				jt.Take()
    				go healEntry(bucket, *entry)
    			},
    			finished: func(errs []error) {
    				success := countErrs(errs, nil)
    				if success < len(disks)/2+1 {
    					retErr = fmt.Errorf("one or more errors reported during listing: %v", errors.Join(errs...))
    				}
    			},
    		})
    		jt.Wait() // synchronize all the concurrent heal jobs
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                if (buildSummary == null) {
                    buffer.append(builder().warning("SKIPPED"));
                } else if (buildSummary instanceof BuildSuccess) {
                    buffer.append(builder().success("SUCCESS"));
                    buffer.append(" [");
                    String buildTimeDuration = formatDuration(buildSummary.getExecTime());
                    int padSize = MAX_PADDED_BUILD_TIME_DURATION_LENGTH - buildTimeDuration.length();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

            errorPoms = Set.copyOf(errorPoms);
        }
    
        /**
         * Creates a successful result with the specified processed and modified POMs.
         */
        public static UpgradeResult success(Set<Path> processedPoms, Set<Path> modifiedPoms) {
            return new UpgradeResult(processedPoms, modifiedPoms, Collections.emptySet());
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            boolean success = true;
            if (filter != null) {
                for (Artifact artifact : getTrail()) {
                    if (!filter.include(artifact)) {
                        success = false;
                    }
                }
            }
            return success;
        }
    
        @Override
        public String toString() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  10. docs/bucket/lifecycle/setup_ilm_transition.sh

    	echo "waiting until the object is tiered to run heal"
    	sleep 1s
    done
    ./mc stat sitea/bucket/README.md
    
    success=$(./mc admin heal -r sitea/bucket/README.md --json --force | jq -r 'select((.name == "bucket/README.md") and (.after.color == "green")) | .after.color == "green"')
    if [ "${success}" != "true" ]; then
    	echo "Found bug expected transitioned object to report 'green'"
    	exit 1
    fi
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top