diff --git a/weed/credential/filer_etc/filer_etc_identity.go b/weed/credential/filer_etc/filer_etc_identity.go index bf42f4661..ae2ebd69a 100644 --- a/weed/credential/filer_etc/filer_etc_identity.go +++ b/weed/credential/filer_etc/filer_etc_identity.go @@ -273,7 +273,7 @@ func (store *FilerEtcStore) UpdateUser(ctx context.Context, username string, ide func (store *FilerEtcStore) DeleteUser(ctx context.Context, username string) error { return store.withFilerClient(func(client filer_pb.SeaweedFilerClient) error { - err := client.DeleteEntry(context.Background(), &filer_pb.DeleteEntryRequest{ + _, err := client.DeleteEntry(context.Background(), &filer_pb.DeleteEntryRequest{ Directory: filer.IamConfigDirectory + "/" + IamIdentitiesDirectory, Name: username + ".json", })