Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Recognize missing writeback host #47

@matyasselmeci

Description

@matyasselmeci

When the writeback host for a namespace is missing or empty, stashcp tries to upload anyway, leading to an error message like

ERROR[2022-08-10T17:48:24-05:00] Error with PUT: Put "https:///osgconnect/public/tlmiller/README.md": http: no Host in request URL

It would be nice if stashcp noticed this and errored out with a message like

No writeback host found for namespace "/osgconnect/public"

instead of trying the PUT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions