Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

fleetctl: destroy using wildcards can search in the repository #1256

Closed
wants to merge 1 commit into from

Commits on Jun 18, 2015

  1. fleetctl: destroy using wildcards can search in the repository

    Curerntly, fleetctl destroy *.service, it will search the units
    in the local directory. The args with wildcards have already parsed
    by golang package before be passed into runDestroyUnits. So
    runDestroyUnits cannot do anything.
    
    This patch support wildcards just search in the repository,
    not from local directory. But need support a new interface. The new
    interface is:
        fleetctl destroy "xx*.service".
    We found that if bracket the service name, the arg will not be
    parsed by golang package to local directory. Then we can do match it
    with the service name in the repository.
    
    Fixes coreos#710
    wuqixuan committed Jun 18, 2015
    Configuration menu
    Copy the full SHA
    1e1afbf View commit details
    Browse the repository at this point in the history