Bumps the version of go-winio.
This also refactors the lcow and windows snapshotters to use go-winio's utility functions for checking the filesystem type. Signed-off-by: Eric Hotinger <ehotinger@gmail.com>
This commit is contained in:
8
vendor/github.com/Microsoft/go-winio/pkg/etw/eventopt.go
generated
vendored
8
vendor/github.com/Microsoft/go-winio/pkg/etw/eventopt.go
generated
vendored
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
type eventOptions struct {
|
||||
descriptor *eventDescriptor
|
||||
activityID *guid.GUID
|
||||
relatedActivityID *guid.GUID
|
||||
activityID guid.GUID
|
||||
relatedActivityID guid.GUID
|
||||
tags uint32
|
||||
}
|
||||
|
||||
@@ -59,14 +59,14 @@ func WithTags(newTags uint32) EventOpt {
|
||||
}
|
||||
|
||||
// WithActivityID specifies the activity ID of the event to be written.
|
||||
func WithActivityID(activityID *guid.GUID) EventOpt {
|
||||
func WithActivityID(activityID guid.GUID) EventOpt {
|
||||
return func(options *eventOptions) {
|
||||
options.activityID = activityID
|
||||
}
|
||||
}
|
||||
|
||||
// WithRelatedActivityID specifies the parent activity ID of the event to be written.
|
||||
func WithRelatedActivityID(activityID *guid.GUID) EventOpt {
|
||||
func WithRelatedActivityID(activityID guid.GUID) EventOpt {
|
||||
return func(options *eventOptions) {
|
||||
options.relatedActivityID = activityID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user