From e7580da130c1e25410d38459fcad005d6e1d983b Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Wed, 29 May 2024 08:58:19 +0200 Subject: [PATCH] lint --- modules/forgefed/actor.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/forgefed/actor.go b/modules/forgefed/actor.go index 92114690dd..0ef46185d1 100644 --- a/modules/forgefed/actor.go +++ b/modules/forgefed/actor.go @@ -70,7 +70,6 @@ type PersonID struct { // Factory function for PersonID. Created struct is asserted to be valid func NewPersonID(uri, source string) (PersonID, error) { - result, err := newActorID(uri) if err != nil { return PersonID{}, err @@ -122,7 +121,6 @@ type RepositoryID struct { // Factory function for RepositoryID. Created struct is asserted to be valid. func NewRepositoryID(uri, source string) (RepositoryID, error) { - result, err := newActorID(uri) if err != nil { return RepositoryID{}, err