Thanks to visit codestin.com
Credit goes to github.com

Skip to content

multiple arguments conflict in multitail #2

@gullitmiranda

Description

@gullitmiranda

if I try use -l and --namespace, cli broken:

Error:

kubetail -l app=agendor-web --namespace production
Will tail 1 logs...
/Users/gmmaster/bin/kubetail: line 208: ((: >= 0 &&  <= 7 : syntax error: operand expected (error token is ">= 0 &&  <= 7 ")
Bad color code!
agendor-web-2053129160-mhr25
[1]    93012 terminated  kubetail -l app=agendor-web --namespace production

Work

$ kubetail -l app=agendor-web
Will tail 2 logs...
agendor-web-2932972748-6vgps
agendor-web-2932972748-rhvbx
 --*- multitail 6.4.2 (C) 2003-2014 by [email protected] -*--
kubetail agendor-web --namespace production
Will tail 3 logs...
agendor-web-2053129160-mhr25
agendor-web-canary-133479263-rn4pk
agendor-web-canary-133479263-tsf1t
 --*- multitail 6.4.2 (C) 2003-2014 by [email protected] -*--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions