fixup! sync: Extract function that import flags from importer
This commit is contained in:
parent
a3d473983d
commit
4c7fd839b6
1 changed files with 33 additions and 33 deletions
|
@ -4,9 +4,9 @@ import (
|
|||
"encoding/hex"
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
"path"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
// DisplayAllFlags doesn't respect the predefined constraint existing between flags.
|
||||
|
@ -296,7 +296,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
|
|||
}
|
||||
|
||||
if t == nil {
|
||||
h := getHashedFlag([]byte(soluce))
|
||||
h := ComputeHashedFlag([]byte(soluce))
|
||||
m.Soluce = hex.EncodeToString(h[:])
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue