From 73d9580817dd62830efdff4e42c85d69c82d1b72 Mon Sep 17 00:00:00 2001 From: Sonia Singla Date: Thu, 6 May 2021 19:14:23 +0530 Subject: [PATCH] refact(deadcode): Fix deadcode and shebangs error (#324) Signed-off-by: Sonia Singla --- buildscripts/test-cov.sh | 3 +-- ci/ci-test.sh | 3 +-- pkg/driver/grpc.go | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/buildscripts/test-cov.sh b/buildscripts/test-cov.sh index be9c8fa..fb9ea90 100755 --- a/buildscripts/test-cov.sh +++ b/buildscripts/test-cov.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # Copyright © 2020 The OpenEBS Authors # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/usr/bin/env bash - set -e echo "" > coverage.txt diff --git a/ci/ci-test.sh b/ci/ci-test.sh index 32dd0e9..8de7350 100755 --- a/ci/ci-test.sh +++ b/ci/ci-test.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # Copyright 2019 The OpenEBS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -#!/usr/bin/env bash - set -e ZFS_OPERATOR=deploy/zfs-operator.yaml diff --git a/pkg/driver/grpc.go b/pkg/driver/grpc.go index b809599..ac3a85f 100644 --- a/pkg/driver/grpc.go +++ b/pkg/driver/grpc.go @@ -126,7 +126,6 @@ func (s *nonBlockingGRPCServer) Start() { s.wg.Add(1) go s.serve(s.endpoint, s.idntyServer, s.ctrlServer, s.agentServer) - } // Wait for the service to stop