mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 15:18:20 +00:00
Updates
This commit is contained in:
@@ -78,7 +78,7 @@ func parseSubContext(parts []string, apiRequest *types.APIContext) []string {
|
||||
apiRequest.SubContext = map[string]string{}
|
||||
apiRequest.Attributes = map[string]interface{}{}
|
||||
|
||||
for len(parts) > 3 && apiRequest.Version != nil {
|
||||
for len(parts) > 3 && apiRequest.Version != nil && parts[3] != "" {
|
||||
resourceType := parts[1]
|
||||
resourceID := parts[2]
|
||||
|
||||
|
Reference in New Issue
Block a user