Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-55585

[CBBS] Fix neo CI failing due to ioutil

    XMLWordPrintable

Details

    • 0

    Description

      golangci-lint is currently failing on neo, e.g. this. It looks to be due to the ioutil deprecation:

      + golangci-lint run --timeout 5m
      node_test.go:7:2: SA1019: package io/ioutil is deprecated: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
      	"io/ioutil" 

      We should remove any use of ioutil on neo to get the CI passing again.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owend Daniel Owen
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty