Remove all of the remaining API logic and port it all to the remote.Client type
This commit is contained in:
@@ -293,7 +293,7 @@ func rootCmdRun(cmd *cobra.Command, _ []string) {
|
||||
// and external clients.
|
||||
s := &http.Server{
|
||||
Addr: api.Host + ":" + strconv.Itoa(api.Port),
|
||||
Handler: router.Configure(manager),
|
||||
Handler: router.Configure(manager, pclient),
|
||||
TLSConfig: config.DefaultTLSConfig,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user