mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-06 19:33:12 +00:00
Merge remote-tracking branch 'origin/master' into feature/multus-4.0
This commit is contained in:
@@ -161,3 +161,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