File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ func New(options ...OptionFunc) *Client {
244
244
c .App = app
245
245
246
246
c .DataPath = & DataPathService {
247
- CLI : & OvsCLI {
247
+ CLI : & DpCLI {
248
248
c : c ,
249
249
},
250
250
}
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ type DataPathService struct {
104
104
// sudo is defined as a default option.
105
105
func NewDataPathService () * DataPathService {
106
106
return & DataPathService {
107
- CLI : & OvsCLI {
107
+ CLI : & DpCLI {
108
108
c : New (Sudo ()),
109
109
},
110
110
}
@@ -321,15 +321,15 @@ func getZoneString(z []uint64) string {
321
321
return sb .String ()
322
322
}
323
323
324
- // OvsCLI implements the CLI interface by invoking the Client exec
324
+ // DpCLI implements the CLI interface by invoking the Client exec
325
325
// method.
326
- type OvsCLI struct {
326
+ type DpCLI struct {
327
327
// Wrapped client for ovs-dpctl
328
328
c * Client
329
329
}
330
330
331
331
// Exec executes 'ovs-dpctl' + args passed in argument
332
- func (cli * OvsCLI ) Exec (args ... string ) ([]byte , error ) {
332
+ func (cli * DpCLI ) Exec (args ... string ) ([]byte , error ) {
333
333
if cli .c == nil {
334
334
return nil , errUninitializedClient
335
335
}
You can’t perform that action at this time.
0 commit comments