diff --git a/internal/csi-addons/rbd/replication.go b/internal/csi-addons/rbd/replication.go index f8daa72ce96a..5a6df0203033 100644 --- a/internal/csi-addons/rbd/replication.go +++ b/internal/csi-addons/rbd/replication.go @@ -792,8 +792,8 @@ func getGRPCError(err error) error { } } - // Handle any other non nil error not listed in the map - return status.Error(codes.Unknown, err.Error()) + // Handle any other non nil error not listed in the map as internal error + return status.Error(codes.Internal, err.Error()) } // GetVolumeReplicationInfo extracts the RBD volume information from the volumeID, If the