- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for formatError (1.42 sec)
-
cmd/admin-handlers-idp-config.go
// If we got an LDAP validation error, we need to send appropriate // error message back to client (likely mc). writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigLDAPValidation), validationErr.FormatError(), r.URL) return } writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), err.Error(), r.URL) return } // Update the actual server config on disk.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/wait.go
if err != nil { lastError = formatError(fmt.Sprintf("error: %v", err)) return false, err } resp, err := client.Do(req) if err != nil { lastError = formatError(fmt.Sprintf("error: %v", err)) return false, nil } defer func() { _ = resp.Body.Close() }() if resp.StatusCode != http.StatusOK { lastError = formatError(fmt.Sprintf("status code: %d", resp.StatusCode))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0)