diff --git a/tests/framework/e2e/etcdctl.go b/tests/framework/e2e/etcdctl.go index 53372a1e9234..5d5765e51af0 100644 --- a/tests/framework/e2e/etcdctl.go +++ b/tests/framework/e2e/etcdctl.go @@ -468,7 +468,6 @@ func (ctl *EtcdctlV3) AlarmDisarm(ctx context.Context, _ *clientv3.AlarmMember) func (ctl *EtcdctlV3) AuthEnable(ctx context.Context) (*clientv3.AuthEnableResponse, error) { args := []string{"auth", "enable"} cmd, err := SpawnCmd(ctl.cmdArgs(args...), nil) - if err != nil { return nil, err } @@ -484,7 +483,6 @@ func (ctl *EtcdctlV3) AuthEnable(ctx context.Context) (*clientv3.AuthEnableRespo func (ctl *EtcdctlV3) AuthDisable(ctx context.Context) (*clientv3.AuthDisableResponse, error) { args := []string{"auth", "disable"} cmd, err := SpawnCmd(ctl.cmdArgs(args...), nil) - if err != nil { return nil, err }