Skip to content

Commit

Permalink
Update - solv restart
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Jun 7, 2024
1 parent 891c78d commit c1d12d0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/solv/src/cli/server/checkValidator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { INSTALLER_CHOICES, server } from '../server'
import { systemctlStatusSolv } from '@/cli/status'
import { startSolana } from '@/cli/start/startSolana'
import { stopSolana } from '@/cli/stop/stopSolana'
import { restartFetch } from '@/cli/restart/restartFetch'
import { showLog } from './showLog'
import { restartSolv } from '@/cli/restart/restartSolv'

Expand Down Expand Up @@ -50,8 +49,7 @@ export const checkValidatorCommands = async (solvConfig: ConfigParams) => {
console.log('Stopped Solana Validator')
break
case CHECK_CHOICES.RESTART_FETCH:
await restartFetch(solvConfig)
console.log('Restarted Solana Validator with fetch snapshot')
console.log('Coming soon...')
break
case CHECK_CHOICES.RESTART_NO_FETCH:
await restartSolv(solvConfig)
Expand Down

0 comments on commit c1d12d0

Please sign in to comment.