mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-27 03:08:04 +00:00
consistent codebase fix
This commit is contained in:
@@ -63,11 +63,11 @@ func getBoolParam(value string) (bool, error) {
|
||||
if value == "" {
|
||||
return false, nil
|
||||
}
|
||||
if ret, err := strconv.ParseBool(value); err != nil {
|
||||
ret, err := strconv.ParseBool(value)
|
||||
if err != nil {
|
||||
return false, fmt.Errorf("Bad parameter")
|
||||
} else {
|
||||
return ret, err
|
||||
}
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
func getAuth(srv *Server, version float64, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
|
||||
|
||||
Reference in New Issue
Block a user