- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ToSlice (0.04 sec)
-
cmd/net.go
if globalBrowserRedirectURL != nil { return []string{globalBrowserRedirectURL.String()} } var ipList []string if globalMinioConsoleHost == "" { ipList = sortIPs(localIP4.ToSlice()) ipList = append(ipList, localIP6.ToSlice()...) } else { ipList = []string{globalMinioConsoleHost} } consoleEndpoints = make([]string, 0, len(ipList)) for _, ip := range ipList {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/net_test.go
case testCase.expectedErr.Error() != err.Error(): t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err) } if testCase.expectedIPList != nil { var found bool for _, ip := range ipList.ToSlice() { if testCase.expectedIPList.Contains(ip) { found = true } } if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
internal/config/lambda/parse.go
func FetchEnabledTargets(ctx context.Context, cfg config.Config, transport *http.Transport) (*event.TargetList, error) { targetList := event.NewTargetList() for _, subSys := range config.LambdaSubSystems.ToSlice() { targets, err := fetchSubSysTargets(ctx, cfg, subSys, transport) if err != nil { return nil, err } for _, t := range targets { if err = targetList.Add(t); err != nil { return nil, err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java
package org.codelibs.fess.mylasta; import java.io.File; import org.codelibs.fess.unit.UnitFessTestCase; import org.dbflute.utflute.lastaflute.police.NonActionExtendsActionPolice; import org.dbflute.utflute.lastaflute.police.NonWebHasWebReferencePolice; import org.dbflute.utflute.lastaflute.police.WebPackageNinjaReferencePolice; public class FessActionDefTest extends UnitFessTestCase { // public void test_component() throws Exception {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0)