Two fixes in our Go API code: (#5066)
* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
value passed in (some options already behaved this way, but they all
should)
This commit is contained in:
1 parent
4e8e069c9c
commit
35d1df7388
72 files changed
+510
-475
No files matched your search
@@ -66,7 +66,7 @@ type TargetDeleteResult struct {
|
||||
}
|
||||
|
||||
// GetItem will always be nil for TargetDeleteResult
|
||||
func (n TargetDeleteResult) GetItem() interface{} {
|
||||
func (n TargetDeleteResult) GetItem() any {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user