Skip to content

Commit

Permalink
add init
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuxuan committed May 29, 2018
1 parent 02e23b1 commit 5994dee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions channelz/types_nonlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

package channelz

import "google.golang.org/grpc/grpclog"

func init() {
grpclog.Infof("Channelz: socket options are not supported on non-linux os.")
}

// SocketOptionData defines the struct to hold socket option data, and related
// getter function to obtain info from fd.
// Windows OS doesn't support Socket Option
Expand Down

0 comments on commit 5994dee

Please sign in to comment.