Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 200 for getErr (0.14 sec)

  1. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    type EvalRetentionBypassFn func(o ObjectInfo, gerr error) error
    
    // GetObjectInfoFn is the signature of GetObjectInfo function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    				// Check if group already exists
    				if _, gerr := globalIAMSys.GetGroupDescription(group); gerr != nil {
    					// If group does not exist, then check if the group has beginning and end space characters
    					// we will reject such group names.
    					if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(group) {
    						writeErrorResponseJSON(ctx, w, importErrorWithAPIErr(ctx, ErrAdminResourceInvalidArgument, gerr, allGroupsFile, group), r.URL)
    						return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
    
            try {
                if (stdout != null) {
                    System.setOut(stdout);
                }
                if (stderr != null) {
                    System.setErr(stderr);
                }
    
                CliRequest cliRequest = new CliRequest(args, classWorld);
                cliRequest.workingDirectory = workingDirectory;
    
                return doMain(cliRequest);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

         * is supported (i.e. no <tt>doOutput</tt>).
         *
         * @deprecated Use getURL() instead
         * @return A new <code>{@link java.net.URL}</code> for this <code>SmbFile</code>
         */
        @Deprecated
        public URL toURL () {
            return getURL();
        }
    
    
        /**
         * Computes a hashCode for this file based on the URL string and IP
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		c.Assert(err, nil)
    
    		response, err = s.client.Do(request)
    		c.Assert(err, nil)
    		c.Assert(response.StatusCode, http.StatusOK)
    	}
    
    	testCases := []struct {
    		getURL          string
    		expectedStrings []string
    	}{
    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", ""), []string{"<Key>foo bar 1</Key>", "<Key>foo bar 2</Key>"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. istioctl/pkg/validate/validate_test.go

    			validateCmd.SilenceUsage = true
    			validateCmd.SetArgs(c.args)
    
    			// capture output to keep test logs clean
    			var out bytes.Buffer
    			validateCmd.SetOut(&out)
    			validateCmd.SetErr(&out)
    
    			err := validateCmd.Execute()
    			if (err != nil) != c.wantError {
    				t.Errorf("unexpected validate return status: got %v want %v: \nerr=%v",
    					err != nil, c.wantError, err)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    		}
    	}()
    
    	return nil
    }
    
    func (p *ReplicationPool) initialized() bool {
    	return !(p == nil || p.objLayer == nil)
    }
    
    // getMRF returns MRF entries for this node.
    func (p *ReplicationPool) getMRF(ctx context.Context, bucket string) (ch <-chan madmin.ReplicationMRF, err error) {
    	mrfRec, err := p.loadMRF()
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		{"data/G_792/srv-tse/c/users/denis/documents/gestionlocative.txt", nil},
    	}
    
    	for _, testCase := range testCases {
    		gotErr := checkPathLength(testCase.path)
    		t.Run("", func(t *testing.T) {
    			if gotErr != testCase.expectedErr {
    				t.Errorf("Expected %s, got %s", testCase.expectedErr, gotErr)
    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top