mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fnctl: change from host/scheme flag to endpoint flag (#231)
* fnctl: change from host/schem flag to endpoint flag * keep same format
This commit is contained in:
@@ -93,7 +93,9 @@ func (p publishcmd) dockerpush(image string) error {
|
||||
}
|
||||
|
||||
func (p *publishcmd) route(path string, ff *funcfile) error {
|
||||
resetBasePath(&p.Configuration)
|
||||
if err := resetBasePath(&p.Configuration); err != nil {
|
||||
return fmt.Errorf("error setting endpoint: %v", err)
|
||||
}
|
||||
|
||||
an, r := extractAppNameRoute(path)
|
||||
if ff.App == nil {
|
||||
|
||||
Reference in New Issue
Block a user