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

discovery: fix HasPrefix in matching app name #594

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 8, 2016

  1. discovery: fix HasPrefix in matching app name

    The following meta:
      <meta name="ac-discovery" content="coreos.com/etcd https://github.com/coreos/etcd/releases/download/{version}/etcd-{version}-{os}-{arch}.{ext}">
    
    Should make the following discoverable:
      actool discover coreos.com/etcd/fdfdsffds:v2.0.10
      actool discover coreos.com/etcd:v2.0.10
    
    But not the following:
      actool discover coreos.com/etcdxxxxxxx:v2.0.10
    
    This is now fixed by checking the character '/' in addition to
    HasPrefix.
    
    Fixes appc#592
    alban committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    11922da View commit details
    Browse the repository at this point in the history