Embed "Unimplemented" structs as proto recommended

Embedding these structs will be mandatory after migratring off from
gogo/protobuf (see #6564).

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato
2022-04-20 05:42:01 +00:00
parent eb66262121
commit 95dde4959d
14 changed files with 14 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ var empty = &ptypes.Empty{}
type service struct {
ss map[string]snapshots.Snapshotter
snapshotsapi.UnimplementedSnapshotsServer
}
func newService(ic *plugin.InitContext) (interface{}, error) {