mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-08 04:10:50 +00:00
add some flags for customize the log settings (#817)
This commit is contained in:
@@ -166,3 +166,13 @@ func (r *Result) String() string {
|
||||
}
|
||||
return fmt.Sprintf("%sDNS:%+v", str, r.DNS)
|
||||
}
|
||||
|
||||
// Int returns a pointer to an int
|
||||
func Int(i int) *int {
|
||||
return &i
|
||||
}
|
||||
|
||||
// Bool returns a pointer to a bool.
|
||||
func Bool(b bool) *bool {
|
||||
return &b
|
||||
}
|
||||
|
Reference in New Issue
Block a user