diff options
author | 2019-04-02 17:20:12 +0000 | |
---|---|---|
committer | 2019-04-02 17:20:12 +0000 | |
commit | 408200f3c402fa31fc465b5cd8b2ea4340048468 (patch) | |
tree | 8de5c58ed150e3f2339ad29b78c47dc847f624fe /src/k8splugin/api/profilehandler.go | |
parent | a1e2fb3ff225509885f82311096d0353e1117877 (diff) | |
parent | f3875e13c7a6675aa980c29580daae42a32eb97f (diff) |
Merge "Make profile key explicit"
Diffstat (limited to 'src/k8splugin/api/profilehandler.go')
-rw-r--r-- | src/k8splugin/api/profilehandler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/api/profilehandler.go b/src/k8splugin/api/profilehandler.go index 2c15a440..362289ff 100644 --- a/src/k8splugin/api/profilehandler.go +++ b/src/k8splugin/api/profilehandler.go @@ -49,7 +49,7 @@ func (h rbProfileHandler) createHandler(w http.ResponseWriter, r *http.Request) } // Name is required. - if p.Name == "" { + if p.ProfileName == "" { http.Error(w, "Missing name in POST request", http.StatusBadRequest) return } |