mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-27 10:02:10 +08:00
Merge branch 'dev' into feat/onepanelio.core.386-migrations.update
This commit is contained in:
@@ -137,7 +137,7 @@ func UnaryInterceptor(kubeConfig *v1.Config, db *v1.DB, sysConfig v1.SystemConfi
|
||||
if dotIndex != -1 {
|
||||
workspaceAndNamespace := xOriginalAuth[0:dotIndex]
|
||||
pieces := strings.Split(workspaceAndNamespace, "--")
|
||||
if len(pieces) > 0 {
|
||||
if len(pieces) > 1 {
|
||||
workspaceName := pieces[0]
|
||||
namespace := pieces[1]
|
||||
|
||||
|
Reference in New Issue
Block a user