mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
load service checkpoint
This commit is contained in:
committed by
Aiden McClelland
parent
0572855734
commit
24bb9125db
@@ -1536,10 +1536,6 @@ export module Mock {
|
||||
// disk: '1TB SSD',
|
||||
// memory: '8GB',
|
||||
// },
|
||||
// 'connection-addresses': {
|
||||
// tor: ['http://privacy34kn4ez3y3nijweec6w4g54i3g54sdv7r5mr6soma3w4begyd.onion'],
|
||||
// clearnet: ['https://start9.com'],
|
||||
// },
|
||||
// },
|
||||
// 'package-data': {
|
||||
// 'bitcoind': bitcoind,
|
||||
|
||||
@@ -107,7 +107,7 @@ export module RR {
|
||||
|
||||
// ssh
|
||||
|
||||
export type GetSSHKeysReq = { } // ssh.get
|
||||
export type GetSSHKeysReq = { } // ssh.list
|
||||
export type GetSSHKeysRes = SSHKeys
|
||||
|
||||
export type AddSSHKeyReq = { pubkey: string } // ssh.add
|
||||
|
||||
@@ -171,7 +171,7 @@ export class LiveApiService extends ApiService {
|
||||
// ssh
|
||||
|
||||
async getSshKeys (params: RR.GetSSHKeysReq): Promise <RR.GetSSHKeysRes> {
|
||||
return this.http.rpcRequest({ method: 'ssh.get', params })
|
||||
return this.http.rpcRequest({ method: 'ssh.list', params })
|
||||
}
|
||||
|
||||
async addSshKey (params: RR.AddSSHKeyReq): Promise <RR.AddSSHKeyRes> {
|
||||
|
||||
Reference in New Issue
Block a user