Skip to content

Commit

Permalink
Added localsnap to Makefile, fixed bug in localsnap_repo.go (#132)
Browse files Browse the repository at this point in the history
Co-authored-by: David L. Smith-Uchida <[email protected]>
  • Loading branch information
xinyanw409 and dsu-igeek committed May 19, 2022
1 parent 28e170f commit d6b0082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export GOFLAGS=-mod=readonly

all: build

build: model-gen client-gen astrolabe kubernetes pvc s3repository fs server client astrolabe_server astrolabe_cli
build: model-gen client-gen astrolabe kubernetes pvc s3repository fs server client astrolabe_server astrolabe_cli localsnap

astrolabe_server:
cd cmd/astrolabe_server; go build
Expand Down
2 changes: 1 addition & 1 deletion pkg/localsnap/localsnap_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (this LocalSnapshotRepo) GetPEInfoReader(ctx context.Context, peid astrolab
returnReader, err := os.Open(peInfoPath)
if err != nil {
err = errors.Wrap(err, "Could not open data stream")
return err
return nil, err
}
return returnReader, nil
}
Expand Down

0 comments on commit d6b0082

Please sign in to comment.