Skip to content

DataplaneAPI doesn't provide a skipReload for CreateStorageSSLCertificate #365

Closed
@fjaeckel

Description

@fjaeckel

I'm currently working with DataplaneAPI and have been stumbling over the fact that a POST /services/haproxy/storage/ssl_certificates reloads HAProxy unexpectedly.

The endpoint only provides a force_reload and not a skip_reload option, when all other endpoints support that feature.

forceReload := false
if params.ForceReload != nil {
forceReload = *params.ForceReload
}

I was wondering if there is a definitive non-obvious reason for this, or if its just a "no-one made the change yet" situation.

The code looks to mirror the situation:

rID := h.ReloadAgent.Reload()

I'm happy to provide a Pull Request with the changes needed to add a skip_reload, if there is no obvious reason for this behaviour.

I've found this issue, which talks about similar points: #309

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