Skip to content

Conversation

@fcrisciani
Copy link

Carried over: #1773
And hidden output of check-protobuf:

if [ 1 ]; then \                                                                         
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=/tmp networkdb/networkdb.proto ; \
diff -q networkdb/networkdb.pb.go /tmp/networkdb/networkdb.pb.go >/dev/null || (echo "👹 networkdb/networkdb.pb.go is out of date; please run 'make protobuf' and check in updates" && exit 1) ; \
else \                                                                                                                                                                                                              protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=./ networkdb/networkdb.proto ; \                                                                
fi                                                                               
if [ 1 ]; then \                                                             
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=/tmp drivers/windows/overlay/overlay.proto ; \
diff -q drivers/windows/overlay/overlay.pb.go /tmp/drivers/windows/overlay/overlay.pb.go >/dev/null || (echo "👹 drivers/windows/overlay/overlay.pb.go is out of date; please run 'make protobuf' and check in updat
es" && exit 1) ; \                                                                       
else \                                                                       
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=./ drivers/windows/overlay/overlay.proto ; \                                                     
fi                                                                                                                                                                                                                  
if [ 1 ]; then \                                                                                                        
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=/tmp drivers/overlay/overlay.proto ; \
diff -q drivers/overlay/overlay.pb.go /tmp/drivers/overlay/overlay.pb.go >/dev/null || (echo "👹 drivers/overlay/overlay.pb.go is out of date; please run 'make protobuf' and check in updates" && exit 1) ; \
else \                                                                                   
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=./ drivers/overlay/overlay.proto ; \
fi                                                             
if [ 1 ]; then \                                                                                                                                                                                                    
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=/tmp agent.proto ; \
diff -q agent.pb.go /tmp/agent.pb.go >/dev/null || (echo "👹 agent.pb.go is out of date; please run 'make protobuf' and check in updates" && exit 1) ; \
else \                                                              
protoc -I=. -I=/go/src -I=/go/src/github.com/gogo/protobuf -I=/go/src/github.com/gogo/protobuf/protobuf --gogo_out=./ agent.proto ; \
fi                                             

@fcrisciani fcrisciani mentioned this pull request Jul 11, 2018
@fcrisciani fcrisciani requested review from ctelfer and euanh July 11, 2018 23:47
Copy link
Contributor

@ctelfer ctelfer left a comment

Choose a reason for hiding this comment

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

LGTM

jsoref and others added 2 commits July 12, 2018 12:54
* addresses
* assigned
* at least
* attachments
* auxiliary
* available
* cleanup
* communicate
* communications
* configuration
* connection
* connectivity
* destination
* encountered
* endpoint
* example
* existing
* expansion
* expected
* external
* forwarded
* gateway
* implementations
* implemented
* initialize
* internally
* loses
* message
* network
* occurred
* operational
* origin
* overlapping
* reaper
* redirector
* release
* representation
* resolver
* retrieve
* returns
* sanbdox
* sequence
* succesful
* synchronizing
* update
* validates

Signed-off-by: Josh Soref <jsoref@gmail.com>
Avoid printing the if condition

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants