diff --git a/go.mod b/go.mod index 7058f9591..d8a67f1d1 100644 --- a/go.mod +++ b/go.mod @@ -131,7 +131,7 @@ require ( replace github.com/jfrog/build-info-go => github.com/jfrog/build-info-go v1.8.9-0.20231031143744-13f94ab07bbc -replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105090858-7296ed5f0f95 +replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105094115-13b1588fc537 // replace github.com/jfrog/gofrog => github.com/jfrog/gofrog v1.2.6-0.20230418122323-2bf299dd6d27 diff --git a/go.sum b/go.sum index 7e38199f4..4c109a921 100644 --- a/go.sum +++ b/go.sum @@ -243,8 +243,8 @@ github.com/jfrog/gofrog v1.3.1 h1:QqAwQXCVReT724uga1AYqG/ZyrNQ6f+iTxmzkb+YFQk= github.com/jfrog/gofrog v1.3.1/go.mod h1:IFMc+V/yf7rA5WZ74CSbXe+Lgf0iApEQLxRZVzKRUR0= github.com/jfrog/jfrog-apps-config v1.0.1 h1:mtv6k7g8A8BVhlHGlSveapqf4mJfonwvXYLipdsOFMY= github.com/jfrog/jfrog-apps-config v1.0.1/go.mod h1:8AIIr1oY9JuH5dylz2S6f8Ym2MaadPLR6noCBO4C22w= -github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105090858-7296ed5f0f95 h1:15rDFbmb19Tdg06C1Ruo0SZ9uR7EszXjIv6ykeBPGtI= -github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105090858-7296ed5f0f95/go.mod h1:tvQHXRqHJn8k3aWhMmM5iEBSLfWlZpP1TIGHv7wKZfw= +github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105094115-13b1588fc537 h1:DN1ll+z1GG2RYTRGvaDGGo7DVpQNX4L7+u+/z38Ll8g= +github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20231105094115-13b1588fc537/go.mod h1:tvQHXRqHJn8k3aWhMmM5iEBSLfWlZpP1TIGHv7wKZfw= github.com/jfrog/jfrog-client-go v1.28.1-0.20231101142932-422f20520a28 h1:CeuORbXaa9E+jDTT/DX1Ozuo8HGzDO7B8PIs0O35MNo= github.com/jfrog/jfrog-client-go v1.28.1-0.20231101142932-422f20520a28/go.mod h1:fuxhYzWEkA16+ZV5cP/BJUGjA3SXVKbBoDmb8ZS6J4g= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= diff --git a/transfer_test.go b/transfer_test.go index c748afadf..06fb3ff36 100644 --- a/transfer_test.go +++ b/transfer_test.go @@ -368,7 +368,7 @@ func generateTestRepoSnapshotFile(t *testing.T, repoKey, repoSnapshotFilePath st func addChildWithFiles(t *testing.T, parent *reposnapshot.Node, dirName string, explored, checkCompleted bool, filesCount int) *reposnapshot.Node { childNode := reposnapshot.CreateNewNode(dirName, nil) for i := 0; i < filesCount; i++ { - assert.NoError(t, childNode.IncrementFilesCount()) + assert.NoError(t, childNode.IncrementFilesCount(uint64(i))) } assert.NoError(t, parent.AddChildNode(dirName, []*reposnapshot.Node{childNode}))