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

[TC][OBJSTORE] Use defined error rather than string when checking return of GetSASURL

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • Morpheus
    • master
    • tools-common
    • None
    • 0

    Description

      What is the problem?

      In MB-55201 we upgraded the Azure SDK. Unfortunately they removed the ability to check if a client was created with a shared key, which we need to know whether we should call GetSASURL or just URL. Currently we hardcode the error string and check that, but this is brittle.

      What is the fix?
      When we next upgrade the Azure SDK we should use the exported error they are introducing (https://github.com/Azure/azure-sdk-for-go/issues/19864)

      Attachments

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

        Activity

          People

            james.lee James Lee
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty