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 @@ -111,7 +111,7 @@ func ExampleDrivesBuilder() {
111
111
}
112
112
}
113
113
114
- func ExampleDrivesBuilder_DriveOpt () {
114
+ func ExampleDrivesBuilder_driveOpt () {
115
115
drives := firecracker .NewDrivesBuilder ("/path/to/rootfs" ).
116
116
AddDrive ("/path/to/drive1.img" , true ).
117
117
AddDrive ("/path/to/drive2.img" , false , func (drive * models.Drive ) {
@@ -153,7 +153,7 @@ func ExampleDrivesBuilder_DriveOpt() {
153
153
}
154
154
}
155
155
156
- func ExampleNetworkInterfaces_RateLimiting () {
156
+ func ExampleNetworkInterface_rateLimiting () {
157
157
// construct the limitations of the bandwidth for firecracker
158
158
bandwidthBuilder := firecracker.TokenBucketBuilder {}.
159
159
WithInitialSize (1024 * 1024 ). // Initial token amount
Original file line number Diff line number Diff line change @@ -189,17 +189,17 @@ type VsockDevice struct {
189
189
190
190
// SocketPath returns the filesystem path to the socket used for VMM
191
191
// communication
192
- func (m Machine ) socketPath () string {
192
+ func (m * Machine ) socketPath () string {
193
193
return m .cfg .SocketPath
194
194
}
195
195
196
196
// LogFile returns the filesystem path of the VMM log
197
- func (m Machine ) LogFile () string {
197
+ func (m * Machine ) LogFile () string {
198
198
return m .cfg .LogFifo
199
199
}
200
200
201
201
// LogLevel returns the VMM log level.
202
- func (m Machine ) LogLevel () string {
202
+ func (m * Machine ) LogLevel () string {
203
203
return m .cfg .LogLevel
204
204
}
205
205
You can’t perform that action at this time.
0 commit comments