Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.GetReplicaById broken #9

Open
OhioSteak68 opened this issue Jul 4, 2024 · 1 comment
Open

.GetReplicaById broken #9

OhioSteak68 opened this issue Jul 4, 2024 · 1 comment

Comments

@OhioSteak68
Copy link

For some reason I am unable to use .GetReplicaById() It just returns nil even though if I use .ReplicaOfClassCreated and hook the method that way it works fine. I have even tried printing Replicas[replicaid].. Or actually just Replicas too. Both of those returned nil for some reason. Either I am setting up something wrong or it's broken

@nush1215
Copy link

nush1215 commented Sep 29, 2024

if you're putting the replica token name, I think it will not work as Ive checked you need to provide the index on the replica table on replica controller which doesnt make any sense as we dont have any way on knowing what index the replica we want is at

the best thing to do here is to add another function called GetReplicaByTokenName which is not yet made for some reason

edit: I have just submitted a PR adding that function, I have it on my local copy and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants