version split 디폴트 이름 변경
This commit is contained in:
@ -186,7 +186,7 @@ func (sh *serviceDescription) readProfile(authtype string, id string, binfo stri
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
if userinfo.token == "" {
|
if len(userinfo.token) == 0 {
|
||||||
return "", errors.New("refreshtoken token not found")
|
return "", errors.New("refreshtoken token not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -256,7 +256,7 @@ func (sh *serviceDescription) prepare(mg *Maingate) error {
|
|||||||
|
|
||||||
if len(sh.VersionSplits) == 0 {
|
if len(sh.VersionSplits) == 0 {
|
||||||
sh.VersionSplits = map[string]string{
|
sh.VersionSplits = map[string]string{
|
||||||
"": strings.Join(namesOnly, ","),
|
"default": strings.Join(namesOnly, ","),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -782,7 +782,7 @@ func (sh *serviceDescription) findVersionSplit(version string) []byte {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sh.divisionsSplits[""]
|
return sh.divisionsSplits["default"]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *serviceDescription) delacc(w http.ResponseWriter, r *http.Request) {
|
func (sh *serviceDescription) delacc(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|||||||
Reference in New Issue
Block a user