mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +08:00
Merge pull request #2761 from ipfs/feature/DiagOnOnlineOnly-2760
Require diag cmds command to run on daemon
This commit is contained in:
@ -105,6 +105,7 @@ var cmdDetailsMap = map[*cmds.Command]cmdDetails{
|
|||||||
commands.CommandsDaemonCmd: {doesNotUseRepo: true},
|
commands.CommandsDaemonCmd: {doesNotUseRepo: true},
|
||||||
commands.VersionCmd: {doesNotUseConfigAsInput: true, doesNotUseRepo: true}, // must be permitted to run before init
|
commands.VersionCmd: {doesNotUseConfigAsInput: true, doesNotUseRepo: true}, // must be permitted to run before init
|
||||||
commands.LogCmd: {cannotRunOnClient: true},
|
commands.LogCmd: {cannotRunOnClient: true},
|
||||||
|
commands.ActiveReqsCmd: {cannotRunOnClient: true},
|
||||||
commands.RepoFsckCmd: {cannotRunOnDaemon: true},
|
commands.RepoFsckCmd: {cannotRunOnDaemon: true},
|
||||||
commands.ConfigCmd.Subcommand("edit"): {cannotRunOnDaemon: true, doesNotUseRepo: true},
|
commands.ConfigCmd.Subcommand("edit"): {cannotRunOnDaemon: true, doesNotUseRepo: true},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user