mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Fix 'make generate' command in ZSH (#1305)
Co-authored-by: Adam Janikowski <12255597+ajanikow@users.noreply.github.com>
This commit is contained in:
parent
2dd63ea94a
commit
199bf200c4
2 changed files with 5 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -546,6 +546,7 @@ tools: tools-min
|
|||
@curl -L ${PROTOC_URL} -o $(GOPATH)/protoc.zip
|
||||
@echo ">> Unzipping protobuf compiler..."
|
||||
@unzip -o $(GOPATH)/protoc.zip -d $(GOPATH)/
|
||||
@chmod +x $(GOPATH)/bin/protoc
|
||||
@echo ">> Fetching protoc go plugins..."
|
||||
@GOBIN=$(GOPATH)/bin go install github.com/golang/protobuf/protoc-gen-go@v1.5.2
|
||||
@GOBIN=$(GOPATH)/bin go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
|
||||
|
@ -635,9 +636,9 @@ generate: generate-internal generate-proto fmt
|
|||
|
||||
generate-internal:
|
||||
ROOT=$(ROOT) go test --count=1 "$(REPOPATH)/internal/..."
|
||||
|
||||
|
||||
generate-proto:
|
||||
PATH=$(PATH):$(GOBUILDDIR)/bin $(GOBUILDDIR)/bin/protoc -I.:$(GOBUILDDIR)/include/ \
|
||||
PATH="$(PATH):$(GOBUILDDIR)/bin" $(GOBUILDDIR)/bin/protoc -I.:$(GOBUILDDIR)/include/ \
|
||||
--go_out=. --go_opt=paths=source_relative \
|
||||
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
||||
$(PROTOSOURCES)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// DISCLAIMER
|
||||
//
|
||||
// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany
|
||||
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -168,7 +168,7 @@ func (ls *LocalStorage) createPV(ctx context.Context, apiObject *api.ArangoLocal
|
|||
continue
|
||||
}
|
||||
if info.Available < volSize {
|
||||
ls.log.Debug("Not enough available size")
|
||||
ls.log.Error("Not enough available size")
|
||||
continue
|
||||
}
|
||||
// Ok, prepare a directory
|
||||
|
|
Loading…
Reference in a new issue