Skip to content

Commit

Permalink
Merge pull request #987 from asynkron/update-examples-to-new-protoc
Browse files Browse the repository at this point in the history
update generated code
  • Loading branch information
rogeralsing authored Dec 16, 2023
2 parents 7b6b1f5 + 661566d commit a46b643
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 641 deletions.
2 changes: 1 addition & 1 deletion _examples/cluster-broadcast/shared/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. protos.proto
protoc -I=. --gograinv2_out=. protos.proto
protoc --go_out=. --go_opt=paths=source_relative --plugin=$GOPATH/bin/protoc-gen-go-grain --go-grain_out=. --go-grain_opt=paths=source_relative protos.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/cluster-grain/shared/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. protos.proto
protoc -I=. -I=$GOPATH/src --gograinv2_out=. protos.proto
protoc --go_out=. --go_opt=paths=source_relative --plugin=$GOPATH/bin/protoc-gen-go-grain --go-grain_out=. --go-grain_opt=paths=source_relative protos.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/cluster-metrics/shared/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. protos.proto
protoc -I=. --gograinv2_out=. protos.proto
protoc --go_out=. --go_opt=paths=source_relative --plugin=$GOPATH/bin/protoc-gen-go-grain --go-grain_out=. --go-grain_opt=paths=source_relative protos.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _examples/cluster-pubsub/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. protos.proto
protoc -I=. --gograinv2_out=. protos.proto
protoc --go_out=. --go_opt=paths=source_relative --plugin=$GOPATH/bin/protoc-gen-go-grain --go-grain_out=. --go-grain_opt=paths=source_relative protos.proto
160 changes: 0 additions & 160 deletions _examples/cluster-pubsub/protos_protoactor.go

This file was deleted.

2 changes: 1 addition & 1 deletion _examples/cluster-restartgracefully/shared/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
protoc --go_out=. --go_opt=paths=source_relative --proto_path=. protos.proto
protoc -I=. --gograinv2_out=. protos.proto
protoc --go_out=. --go_opt=paths=source_relative --plugin=$GOPATH/bin/protoc-gen-go-grain --go-grain_out=. --go-grain_opt=paths=source_relative protos.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions actor/actor_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ func (ctx *actorContext) stopAllChildren() {
return
}

var pids = ctx.extras.children.pids
pids := ctx.extras.children.pids
for i := len(pids) - 1; i >= 0; i-- {
pids[i].sendSystemMessage(ctx.actorSystem, stopMessage)
}
Expand Down Expand Up @@ -706,7 +706,7 @@ func (ctx *actorContext) finalizeStop() {
//

func (ctx *actorContext) EscalateFailure(reason interface{}, message interface{}) {
//TODO: add callstack to log?
// TODO: add callstack to log?
ctx.Logger().Info("[ACTOR] Recovering", slog.Any("self", ctx.self), slog.Any("reason", reason))
// debug setting, allows to output supervision failures in console/error level
if ctx.actorSystem.Config.DeveloperSupervisionLogging {
Expand Down
4 changes: 0 additions & 4 deletions protobuf/protoc-gen-gograinv2/Makefile

This file was deleted.

Loading

0 comments on commit a46b643

Please sign in to comment.