Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,290 for Warningf (0.13 sec)

  1. operator/pkg/manifest/shared.go

    	iopsString, iops, err := GenIOPFromProfile(profile, fy, setFlags, force, false, client, l)
    	if err != nil {
    		return "", nil, err
    	}
    
    	errs, warning := validation.ValidateConfig(false, iops.Spec)
    	if warning != "" {
    		l.LogAndError(warning)
    	}
    
    	if errs.ToError() != nil {
    		return "", nil, fmt.Errorf("generated config failed semantic validation: %v", errs)
    	}
    	return iopsString, iops, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            file("build/reports/checkstyle/main.html").assertContents(containsClass("org.gradle.class2"))
        }
    
        def "can fail on maximum number of warnings"() {
            given:
            writeConfigFileWithWarnings()
            badCode()
    
            when:
            buildFile << """
                checkstyle {
                    maxWarnings = 1
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    			expectedRegexp: regexp.MustCompile(`.*key ".*" already set`),
    			wantError:      true,
    		},
    		{
    			name: "warning",
    			args: []string{"--filename", warningFilename},
    			expectedRegexp: regexp.MustCompile(`(?m)".*" has warnings: 
    	\* DestinationRule//reviews-cb-policy: outlier detection consecutive errors is deprecated, use consecutiveGatewayErrors or consecutive5xxErrors instead
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml

    # Same service as cluster2, should not report warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service with extra port in cluster2, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: extra-port
      namespace: my-namespace
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. pkg/api/persistentvolumeclaim/util.go

    			),
    		)
    	}
    
    	warnings = append(warnings, GetWarningsForPersistentVolumeClaimSpec(field.NewPath("spec"), pv.Spec)...)
    
    	return warnings
    }
    
    func GetWarningsForPersistentVolumeClaimSpec(fieldPath *field.Path, pvSpec core.PersistentVolumeClaimSpec) []string {
    
    	var warnings []string
    	requestValue := pvSpec.Resources.Requests[core.ResourceStorage]
    	if requestValue.MilliValue()%int64(1000) != int64(0) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            when:
            logger.warning("before")
    
            then:
            0 * listener._
    
            when:
            loggingManager.levelInternal = LogLevel.WARN
            loggingManager.start()
            logger.info("ignored")
            logger.warning("warning")
    
            then:
            1 * listener.onOutput('warning')
            1 * listener.onOutput(SystemProperties.instance.lineSeparator)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_build_simple.txt

    wait
    
    # First execute without GOCOVERDIR set...
    env GOCOVERDIR=
    exec ./example.exe normal
    stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    
    # ... then with GOCOVERDIR set.
    env GOCOVERDIR=data/normal
    exec ./example.exe normal
    ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted'
    go tool covdata percent -i=data/normal
    stdout  'coverage:.*[1-9][0-9.]+%'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. pkg/registry/apps/deployment/strategy.go

    }
    
    // WarningsOnCreate returns warnings for the creation of the given object.
    func (deploymentStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	newDeployment := obj.(*apps.Deployment)
    	var warnings []string
    	if msgs := utilvalidation.IsDNS1123Label(newDeployment.Name); len(msgs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/DependencyVerificationReportWriter.java

            boolean useKeyServers
        ) {
            assertInitialized();
            // We need at least one fatal failure: if it's only "warnings" we don't care
            // but of there's a fatal failure AND a warning we want to show both
            doRender(displayName, failuresByArtifact, summaryRenderer, useKeyServers);
            doRender(displayName, failuresByArtifact, htmlRenderer, useKeyServers);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

        // notice to self: what was this method supposed to do?
        //
        /**
         * <b>Warning</b>: ignored.
         */
        public void returnComponentLogger(String role) {}
    
        /**
         * <b>Warning</b>: ignored.
         */
        public void returnComponentLogger(String role, String hint) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>0</code>).
         */
        public int getThreshold() {
            return 0;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top