2
2
// Apptainer a Series of LF Projects LLC.
3
3
// For website terms of use, trademark policy, privacy policy and other
4
4
// project policies see https://lfprojects.org/policies
5
- // Copyright (c) 2020-2023 , Sylabs Inc. All rights reserved.
5
+ // Copyright (c) 2020-2024 , Sylabs Inc. All rights reserved.
6
6
// This software is licensed under a 3-clause BSD license. Please consult the LICENSE.md file
7
7
// distributed with the sources of this project regarding your rights to use or distribute this
8
8
// software.
@@ -542,9 +542,9 @@ func NewVerifier(f *sif.FileImage, opts ...VerifierOpt) (*Verifier, error) {
542
542
}
543
543
544
544
// fingerprints returns a sorted list of unique fingerprints of entities participating in the
545
- // verification tasks in v. If any is true, entities involved in at least one task are included.
546
- // Otherwise, only entities participatinging in all tasks are included.
547
- func (v * Verifier ) fingerprints (any bool ) ([][]byte , error ) {
545
+ // verification tasks in v. If anyTask is true, entities involved in at least one task are
546
+ // included. Otherwise, only entities participatinging in all tasks are included.
547
+ func (v * Verifier ) fingerprints (anyTask bool ) ([][]byte , error ) {
548
548
m := make (map [string ]int )
549
549
550
550
// Build up a map containing fingerprints, and the number of tasks they are participating in.
@@ -567,7 +567,7 @@ func (v *Verifier) fingerprints(any bool) ([][]byte, error) {
567
567
// Build up list of fingerprints.
568
568
var fps [][]byte
569
569
for fp , n := range m {
570
- if any || len (v .tasks ) == n {
570
+ if anyTask || len (v .tasks ) == n {
571
571
b , err := hex .DecodeString (fp )
572
572
if err != nil {
573
573
panic (err )
0 commit comments