chore: rename
This commit is contained in:
2
internal/pkg/vendors/btpanel-sdk/client.go
vendored
2
internal/pkg/vendors/btpanel-sdk/client.go
vendored
@@ -99,7 +99,7 @@ func (c *BaoTaPanelClient) sendRequestWithResult(path string, params map[string]
|
||||
if result.GetMsg() == nil {
|
||||
return fmt.Errorf("baota api error: unknown error")
|
||||
} else {
|
||||
return fmt.Errorf("baota api error: %s", result.GetMsg())
|
||||
return fmt.Errorf("baota api error: %s", *result.GetMsg())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user