From a1c8942e2b40b94af4e71b543e3217069c9f6d73 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 30 Nov 2020 15:51:00 +0530 Subject: [PATCH] cephfs: remove unused invalidCommand error const removed unused invalidCommand from cephfs error const. Signed-off-by: Madhu Rajanna --- internal/cephfs/errors.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/cephfs/errors.go b/internal/cephfs/errors.go index 2b3285470..b945969f1 100644 --- a/internal/cephfs/errors.go +++ b/internal/cephfs/errors.go @@ -24,8 +24,6 @@ import ( const ( // volumeNotFound is returned when a subvolume is not found in CephFS. volumeNotFound = "Error ENOENT" - // invalidCommand is returned when a command is not known to the cluster - invalidCommand = "Error EINVAL" // snapNotFound is returned when snap name passed is not found in the list // of snapshots for the given image. snapNotFound = "Error ENOENT"