Skip to content

chore(glide.yaml): update minio-go to v1.0.0 release#74

Closed
mboersma wants to merge 2 commits into
deis:masterfrom
mboersma:update-minio-release
Closed

chore(glide.yaml): update minio-go to v1.0.0 release#74
mboersma wants to merge 2 commits into
deis:masterfrom
mboersma:update-minio-release

Conversation

@mboersma

Copy link
Copy Markdown
Member

See https://github.com/minio/minio-go/releases/tag/v1.0.0

Also updates go-dev to :0.8.0 to take advantage of glide version 0.9.0.

@arschles

Copy link
Copy Markdown
Member

Does this fix #70? Looks like they have an official, downloadable binary now

@arschles

Copy link
Copy Markdown
Member

Also 💯 on upgrading the go-dev version. Glide 0.9 FTW

@mboersma

Copy link
Copy Markdown
Member Author

There are some code changes still necessary:

$ make build docker-build docker-push
mkdir -p ./rootfs/bin
docker run --rm -v /Users/matt/Projects/src/github.com/deis/minio:/go/src/github.com/deis/minio -w /go/src/github.com/deis/minio -e CGO_ENABLED=0 quay.io/deis/go-dev:0.8.0 go build -a -installsuffix cgo -ldflags '-s' -o ./rootfs/bin/boot boot.go || exit 1
# github.com/deis/minio/src/healthsrv
src/healthsrv/server.go:15: undefined: minio.CloudStorageClient
make: *** [build] Error 1

Working on it...

@arschles

Copy link
Copy Markdown
Member

@mboersma my bad, I misunderstood the scope of this PR. I see that you're upgrading the https://github.com/minio/minio-go library now. Let me know if I can help

@arschles

Copy link
Copy Markdown
Member

wow, the above is a major facepalm moment for me. even the title says exactly what you're doing, and what I got wrong....

@mboersma mboersma force-pushed the update-minio-release branch from 6730cc0 to 752f71d Compare February 18, 2016 18:45
Comment thread src/healthsrv/server.go Outdated

// Start starts the healthcheck server on $host:$port and blocks. It only returns if the server fails, with the indicative error
func Start(host string, port int, minioClient minio.CloudStorageClient) error {
func Start(host string, port int, minioClient minio.Client) error {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

would it be better to make this a pointer to *minio.Client so we don't have to de-reference the pointer at https://github.com/deis/minio/pull/74/files#diff-f6ee15f775b88714fe6122ff877b9e42R170?

@mboersma mboersma force-pushed the update-minio-release branch from e8ab2ad to ab34742 Compare February 18, 2016 22:05
@mboersma mboersma mentioned this pull request Feb 19, 2016
@mboersma

Copy link
Copy Markdown
Member Author

Closing in favor of #79.

@mboersma mboersma closed this Feb 25, 2016
@mboersma mboersma deleted the update-minio-release branch February 25, 2016 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants