summaryrefslogtreecommitdiffstats
path: root/sms-service
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-03-28 11:34:20 -0700
committerGirish Havaldar <hg0071052@techmahindra.com>2018-03-29 04:14:38 +0000
commit2835f7b259688c8008eba54b0f1256e2123872c9 (patch)
tree758d0b33fba2d1dfc2a8e09642d0f48018b9ddd8 /sms-service
parent49fa1f00fd585f78630509510eb73851fa90f45f (diff)
Delete secret returns with 204
Delete secret should return 204 similar to Delete Domain Issue-ID: AAF-202 Change-Id: I63789f651c03aa19179c6ba8f271668d914181fd Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service')
-rw-r--r--sms-service/src/sms/handler/handler.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sms-service/src/sms/handler/handler.go b/sms-service/src/sms/handler/handler.go
index f2800fc..7758126 100644
--- a/sms-service/src/sms/handler/handler.go
+++ b/sms-service/src/sms/handler/handler.go
@@ -168,6 +168,8 @@ func (h handler) deleteSecretHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
+
+ w.WriteHeader(http.StatusNoContent)
}
// struct that tracks various status items for SMS and backend