diff --git a/README.md b/README.md index f1722d8f9..917aa727d 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ - [Delete Release Bundle Version](#delete-release-bundle-version) - [Delete Release Bundle Version Promotion](#delete-release-bundle-version-promotion) - [Export Release Bundle Archive](#export-release-bundle-archive) - - [Import Release Bundle](#import-release-bundle) + - [Import Release Bundle Archive](#import-release-bundle-archive) - [Remote Delete Release Bundle](#remote-delete-release-bundle) - [Lifecycle APIs](#lifecycle-apis) - [Creating Lifecycle Service Manager](#creating-lifeCycle-service-manager) @@ -472,8 +472,8 @@ TargetPathInArchive := "archive/path/" SizeLimit= &fspatterns.SizeThreshold{SizeInBytes: 10000, Condition: fspatterns.LessThan} uploadServiceOptions := &UploadServiceOptions{ -// Set to true to fail the upload operation if any of the files fail to upload -FailFast: false, + // Set to true to fail the upload operation if any of the files fail to upload + FailFast: false, } totalUploaded, totalFailed, err := rtManager.UploadFiles(uploadServiceOptions, params) diff --git a/artifactory/manager.go b/artifactory/manager.go index f79409e8f..3b1172b90 100644 --- a/artifactory/manager.go +++ b/artifactory/manager.go @@ -304,7 +304,7 @@ func (sm *ArtifactoryServicesManagerImp) GetItemProps(relativePath string) (*uti type UploadServiceOptions struct { // Fail the operation immediately if an error occurs. - failFast bool + FailFast bool } func (sm *ArtifactoryServicesManagerImp) initUploadService(uploadServiceOptions UploadServiceOptions) *services.UploadService { @@ -312,7 +312,7 @@ func (sm *ArtifactoryServicesManagerImp) initUploadService(uploadServiceOptions uploadService.Threads = sm.config.GetThreads() uploadService.ArtDetails = sm.config.GetServiceDetails() uploadService.DryRun = sm.config.IsDryRun() - uploadService.SetFailFast(uploadServiceOptions.failFast) + uploadService.SetFailFast(uploadServiceOptions.FailFast) uploadService.Progress = sm.progress httpClientDetails := uploadService.ArtDetails.CreateHttpClientDetails() uploadService.MultipartUpload = utils.NewMultipartUpload(sm.client, &httpClientDetails, uploadService.ArtDetails.GetUrl()) diff --git a/go.mod b/go.mod index 3a7ea7a4a..ceb32be44 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 github.com/gookit/color v1.5.4 github.com/jfrog/archiver/v3 v3.6.1 - github.com/jfrog/build-info-go v1.10.0 + github.com/jfrog/build-info-go v1.10.1 github.com/jfrog/gofrog v1.7.6 github.com/minio/sha256-simd v1.0.1 github.com/stretchr/testify v1.9.0 diff --git a/go.sum b/go.sum index c6ae8c111..a9be774c0 100644 --- a/go.sum +++ b/go.sum @@ -59,8 +59,8 @@ github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOl github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jfrog/archiver/v3 v3.6.1 h1:LOxnkw9pOn45DzCbZNFV6K0+6dCsQ0L8mR3ZcujO5eI= github.com/jfrog/archiver/v3 v3.6.1/go.mod h1:VgR+3WZS4N+i9FaDwLZbq+jeU4B4zctXL+gL4EMzfLw= -github.com/jfrog/build-info-go v1.10.0 h1:jSxmN58mH0LaP+v1IQadplwJPRILLgI3xieBTXTCSos= -github.com/jfrog/build-info-go v1.10.0/go.mod h1:JcISnovFXKx3wWf3p1fcMmlPdt6adxScXvoJN4WXqIE= +github.com/jfrog/build-info-go v1.10.1 h1:5nLrpFjbV2zuBdmJXW2nybAz5vyu+qDkOtR7v0ehi8s= +github.com/jfrog/build-info-go v1.10.1/go.mod h1:JcISnovFXKx3wWf3p1fcMmlPdt6adxScXvoJN4WXqIE= github.com/jfrog/gofrog v1.7.6 h1:QmfAiRzVyaI7JYGsB7cxfAJePAZTzFz0gRWZSE27c6s= github.com/jfrog/gofrog v1.7.6/go.mod h1:ntr1txqNOZtHplmaNd7rS4f8jpA5Apx8em70oYEe7+4= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= diff --git a/utils/utils.go b/utils/utils.go index 05ac1438b..40318df4d 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -28,7 +28,7 @@ import ( const ( Development = "development" Agent = "jfrog-client-go" - Version = "1.47.0" + Version = "1.47.1" ) type MinVersionProduct string