Skip to content

Commit 481b8dd

Browse files
committed
CR comments
Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 1c92201 commit 481b8dd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
id: setup-go
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: "1.17.0"
22+
go-version: 1.17.7
2323
- name: Upgrade pip version
2424
run: |
2525
pip install --upgrade "pip>=21.3.1"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ install-go-ci-dependencies:
130130
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1.0
131131

132132
compile-protos-go: install-go-ci-dependencies
133-
pip install -e "sdk/python[ci]"
133+
pip install grpcio-tools==1.34.0
134134
python sdk/python/setup.py build_go_protos
135135

136136
compile-go-feature-server: compile-protos-go
@@ -141,7 +141,7 @@ test-go: install-go-ci-dependencies
141141
go test ./...
142142

143143
format-go:
144-
gofmt -s -w go/**/**/*.go
144+
gofmt -s -w go/
145145

146146
lint-go: compile-protos-go
147147
go vet ./go/internal/feast ./go/cmd/goserver

sdk/python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def _generate_go_protos(self, path: str):
306306
print(f"Stderr: {e.stderr}")
307307
print(f"Stdout: {e.stdout}")
308308

309-
def _compile_go_feaure_server(self):
309+
def _compile_go_feature_server(self):
310310
print("Compile go feature server")
311311
subprocess.check_call(["go",
312312
"build",
@@ -321,7 +321,7 @@ def run(self):
321321
go_dir.mkdir(exist_ok=True)
322322
for sub_folder in self.sub_folders:
323323
self._generate_go_protos(f"feast/{sub_folder}/*.proto")
324-
self._compile_go_feaure_server()
324+
self._compile_go_feature_server()
325325

326326

327327
class BuildCommand(build_py):

0 commit comments

Comments
 (0)