Code Review
/
aiml-fw
/
awmf
/
modelmgmtservice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fce5a8c
)
Updating Header as per new API-root change
02/14002/1
author
ashishj1729
<jain.ashish@samsung.com>
Wed, 8 Jan 2025 11:53:12 +0000
(17:23 +0530)
committer
subhash kumar singh
<subh.singh@samsung.com>
Wed, 8 Jan 2025 19:07:23 +0000
(19:07 +0000)
Change-Id: I367e7ed39fed5d68a0b4f15477ea2bf396a1fb35
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
(cherry picked from commit
874d2370b942d84705375b0184f26cda2a394c36
)
apis/mmes_apis.go
patch
|
blob
|
history
diff --git
a/apis/mmes_apis.go
b/apis/mmes_apis.go
index
36349dc
..
d599dcf
100644
(file)
--- a/
apis/mmes_apis.go
+++ b/
apis/mmes_apis.go
@@
-83,7
+83,7
@@
func (m *MmeApiHandler) RegisterModel(cont *gin.Context) {
}
logging.INFO("model is saved.")
- cont.Header("Location", "/model-registrations/"+id.String())
+ cont.Header("Location", "
ai-ml-model-registration/v1
/model-registrations/"+id.String())
cont.JSON(http.StatusCreated, gin.H{
"modelInfo": modelInfo,
})