aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user/user_adopt.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/user/user_adopt.go')
-rw-r--r--commands/user/user_adopt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/user/user_adopt.go b/commands/user/user_adopt.go
index f5944053..30fdb442 100644
--- a/commands/user/user_adopt.go
+++ b/commands/user/user_adopt.go
@@ -27,7 +27,7 @@ func newUserAdoptCommand() *cobra.Command {
func runUserAdopt(env *execenv.Env, args []string) error {
prefix := args[0]
- i, err := env.Backend.ResolveIdentityPrefix(prefix)
+ i, err := env.Backend.Identities().ResolvePrefix(prefix)
if err != nil {
return err
}