- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 690 for ok (0.01 sec)
-
istioctl/pkg/precheck/precheck.go
func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) { cli, err := ctx.CLIClientWithRevision(revision) if err != nil { return nil, err } major, minors, ok := strings.Cut(version, ".") if !ok { return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version) } if major != "1" { return nil, fmt.Errorf("expected major version 1, got %v", version) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
} else if loggerLevelString != "" { levels := strings.Split(loggerLevelString, ",") for _, ol := range levels { if !strings.Contains(ol, ":") && !strings.Contains(ol, "=") { level, ok := stringToLevel[ol] if ok { destLoggerLevels = map[string]Level{ defaultLoggerName: level, } } else { return fmt.Errorf("unrecognized logging level: %v", ol) } } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
docs/ja/docs/advanced/additional-status-codes.md
それは、デフォルトのステータスコードか、 *path operation* でセットしたものを利用します。 ## 追加のステータスコード メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。 例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。 しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。 これを達成するには、 `JSONResponse` をインポートし、 `status_code` を設定して直接内容を返します。 ```Python hl_lines="4 25"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
.teamcity/README.md
- At the popup window, click `Import Settings from VCS`. Wait a few seconds. - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads. - If there are any errors, read the error and fix your code.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Mar 06 23:02:25 UTC 2024 - 4K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java
@Execute @Secured({ ROLE }) public HtmlResponse deleteall() { verifyToken(this::asListHtml); final List<String> jobStatusList = new ArrayList<>(); jobStatusList.add(Constants.OK); jobStatusList.add(Constants.FAIL); jobLogService.deleteByJobStatus(jobStatusList); jobLogPager.clear(); saveInfo(messages -> messages.addSuccessJobLogDeleteAll(GLOBAL));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
@CheckForNull V getIfCached(@CheckForNull Object key) { Entry<K, V> entry = cacheEntry; // store local reference for thread-safety // Check cache. We use == on purpose because it's cheaper and a cache miss is ok. if (entry != null && entry.getKey() == key) { return entry.getValue(); } return null; } void clearCache() { cacheEntry = null; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0) -
internal/grid/grid_test.go
const testPayload = "Hello Grid World!" // Single requests should have remote errors. _, err := remoteConn.Request(context.Background(), handlerTest, []byte(testPayload)) if _, ok := err.(*RemoteErr); !ok { t.Fatalf("Unexpected error: %v, %T", err, err) } // Streams should not be able to set up until registered. // Thus, the error is a local error.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
src/packaging/common/scripts/postinst
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 3.1K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
t.Fatalf("Expected to be inequal: fi %v ofi %v", fi, ofi) } } func TestSkipTierFreeVersion(t *testing.T) { fi := newFileInfo("object", 8, 8) fi.SetSkipTierFreeVersion() if ok := fi.SkipTierFreeVersion(); !ok { t.Fatal("Expected SkipTierFreeVersion to be set on FileInfo but wasn't") } } func TestListObjectParities(t *testing.T) { mkMetaArr := func(N, parity, agree int) []FileInfo {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0)