aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2021-05-31 03:32:52 -0700
committerFChannel <>2021-05-31 03:32:52 -0700
commitdf34b557bb7894b82bd08dc9430d5fb76b35c3ff (patch)
tree29469d3cea7c200ba24f387758f29d230b768a1a /main.go
parent29d1a7074434ff807648e51d70e1d37c1e0a6cc9 (diff)
missed the count
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index b37c41d..29b93fd 100644
--- a/main.go
+++ b/main.go
@@ -2208,8 +2208,8 @@ func GetActorInstance(path string) (string, string) {
if(atFormat) {
match := re.FindStringSubmatch(path)
- if(len(match) > 1) {
- return match[1], match[2]
+ if(len(match) > 2) {
+ return match[2], match[3]
}
}