mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-08 15:13:38 +08:00
change: rename LoadFile to LoadFileObject
This commit is contained in:
@@ -44,7 +44,7 @@ func (path *APIPath) GetPath() string {
|
||||
func (path *APIPath) ToAPI() (*API, error) {
|
||||
api := &API{}
|
||||
apiPath := path.GetPath()
|
||||
err := LoadFile(apiPath, api)
|
||||
err := LoadFileObject(apiPath, api)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user