Commit bed22631 authored by Sebastien Gougeaud's avatar Sebastien Gougeaud Committed by Thomas Leibovici
Browse files

cli: remove format command from drive and device



'format' is a medium command, not a device one.

Change-Id: I66d22cf4b3e485261e6dae2b71fb3b0b24f37420
Signed-off-by: default avatarSebastien Gougeaud <sebastien.gougeaud@cea.fr>
Reviewed-on: https://cws-fleury.labs.ocre.cea.fr/gerrit/6707


Reviewed-by: Linter
Tested-by: default avatarJenkins s8open_nr <s8open_nr@ccc.ocre.cea.fr>
Reviewed-by: default avatarPatrice LUCAS <patrice.lucas@cea.fr>
Reviewed-by: default avatarThomas Leibovici <thomas.leibovici@cea.fr>
parent 40adb7e0
......@@ -586,7 +586,6 @@ class DeviceOptHandler(BaseResourceOptHandler):
"""Shared interface for devices."""
verbs = [
AddOptHandler,
FormatOptHandler,
ListOptHandler,
LockOptHandler,
UnlockOptHandler
......@@ -937,7 +936,6 @@ class DriveOptHandler(DeviceOptHandler):
family = ResourceFamily(ResourceFamily.RSC_TAPE)
verbs = [
AddOptHandler,
FormatOptHandler,
DriveListOptHandler,
LockOptHandler,
UnlockOptHandler
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment