Skip to content

Commit c8de40f

Browse files
committed
Look for target in delegations
1 parent 5f9d948 commit c8de40f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

client/client.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,10 @@ func (c *Client) Target(name string) (data.TargetFileMeta, error) {
871871
return target, nil
872872
}
873873

874+
if target, err = c.getTargetFileMeta(name); err == nil {
875+
return target, nil
876+
}
877+
874878
return data.TargetFileMeta{}, ErrNotFound{name}
875879
}
876880

0 commit comments

Comments
 (0)