Fix test server
This commit is contained in:
parent
2da226bdd9
commit
41b9c99245
@ -59,7 +59,7 @@ func testServerApi(cmd *cobra.Command, args []string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Force loading of config before we alter it
|
// Force loading of config before we alter it
|
||||||
lfs.Config.AllGitConfig()
|
config.Config.AllGitConfig()
|
||||||
|
|
||||||
// Configure the endpoint manually
|
// Configure the endpoint manually
|
||||||
var endp config.Endpoint
|
var endp config.Endpoint
|
||||||
@ -68,7 +68,7 @@ func testServerApi(cmd *cobra.Command, args []string) {
|
|||||||
} else {
|
} else {
|
||||||
endp = config.NewEndpoint(apiUrl)
|
endp = config.NewEndpoint(apiUrl)
|
||||||
}
|
}
|
||||||
lfs.Config.SetManualEndpoint(endp)
|
config.Config.SetManualEndpoint(endp)
|
||||||
|
|
||||||
var oidsExist, oidsMissing []TestObject
|
var oidsExist, oidsMissing []TestObject
|
||||||
if len(args) >= 2 {
|
if len(args) >= 2 {
|
||||||
|
Loading…
Reference in New Issue
Block a user