Skip to content

if --filter is used --order-by cannot be used #132

@Tchirana

Description

@Tchirana

Usefull to have both of these options work.
Weird because with gcloud they do work:
gcloud compute addresses list --filter="name:(xxxx-yyyy)" --sort-by=creationTimestamp
but in kubeip:
kubeip-84h6v kubeip time="2023-12-06T18:15:20Z" level=error msg="failed to assign static public IP address to node gke-xxxxxxx" func=main.assignAddress file="/app/cmd/main.go:97" error="failed to list available addresses: failed to list available addresses: googleapi: Error 400: Invalid value for field 'orderBy': 'creationTimestamp'. Specifying both a list filter and sort order is not currently supported., invalid" version=sha-ce43fbb

sort could be done outside googleapi

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