Commit 2710a538 authored by jackgr's avatar jackgr

Fix repo format default error

parent ffb79783
...@@ -59,7 +59,7 @@ func addChartRepoHandlerFunc(w http.ResponseWriter, r *http.Request, c *router.C ...@@ -59,7 +59,7 @@ func addChartRepoHandlerFunc(w http.ResponseWriter, r *http.Request, c *router.C
} }
if string(cr.Format) == "" { if string(cr.Format) == "" {
cr.Type = repo.GCSRepoType cr.Format = repo.GCSRepoFormat
} }
if string(cr.Type) == "" { if string(cr.Type) == "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment