Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Bind2 (0.02 sec)

  1. tests/preload_test.go

    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    	err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find2, value2)
    
    	var finds []Value
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. pkg/volume/iscsi/iscsi_util.go

    	}
    	portal := device[0:ind1]
    	ind2 := strings.Index(device, "iqn.")
    	if ind2 < 0 {
    		ind2 = strings.Index(device, "eui.")
    	}
    	if ind2 < 0 {
    		return "", "", fmt.Errorf("iscsi detach disk: no iqn in %s", device)
    	}
    	ind := strings.LastIndex(device, "-lun-")
    	iqn := device[ind2:ind]
    	return portal, iqn, nil
    }
    
    // Remove duplicates or string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
Back to top