Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed references to madmin-go v1.7.5 and updated to v2.0.1 #1466

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

bexsoft
Copy link
Contributor

@bexsoft bexsoft commented Feb 27, 2023

What does this do?

Removes references to madmin.go v1.7.5 in favor of v2.0.1.

This PR is related to an issue in console where a dependency is not met

# github.com/minio/madmin-go
../../../../go/pkg/mod/github.com/minio/madmin-go@v1.7.5/health.go:325:36: undefined: host.Warnings

Please refer to minio/console#2682

@allanrogerr
Copy link
Contributor

@bexsoft Could you try mod tidy in the kubectl-minio directory? I believe you may have missed a couple of dependencies there

Copy link
Contributor

@allanrogerr allanrogerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing upgrade to madmin in kubectl-minio:

cd kubectl-minio
go mod tidy

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
Copy link
Contributor

@allanrogerr allanrogerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good !

@@ -46,7 +46,7 @@ import (
"k8s.io/klog/v2"

"github.com/golang-jwt/jwt"
"github.com/minio/madmin-go"
"github.com/minio/madmin-go/v2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check failure on line 49 in pkg/apis/minio.min.io/v2/helper.go

GitHub Actions
/ Shellcheck

missing go.sum entry needed to verify package github.com/minio/madmin-go/v2 (imported by github.com/minio/operator/pkg/apis/minio.min.io/v2) is provided by exactly one module; to add:

 Check failure on line 49 in pkg/apis/minio.min.io/v2/helper.go

GitHub Actions
/ Analysis (1.19)

missing go.sum entry needed to verify package github.com/minio/madmin-go/v2 (imported by github.com/minio/operator/pkg/apis/minio.min.io/v2) is provided by exactly one module; to add:

@pjuarezd pjuarezd merged commit ad024a9 into minio:master Feb 28, 2023
@bexsoft bexsoft deleted the updated-madmin-go branch February 28, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants