Skip to content

Commit cfa8f49

Browse files
committed
Merge pull request #294 from mapuri/netctl
use netmaster service name as default for netctl
2 parents a20eacf + 1bc4cf1 commit cfa8f49

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

netctl/netctl.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
// DefaultMaster is the master to use when none is provided.
19-
const DefaultMaster = "http://localhost:9999"
19+
const DefaultMaster = "http://netmaster:9999"
2020

2121
func getClient(ctx *cli.Context) *contivClient.ContivClient {
2222
cl, err := contivClient.NewContivClient(ctx.GlobalString("netmaster"))

netmaster/master/consts.go

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ limitations under the License.
1616
package master
1717

1818
const (
19-
// DaemonURL is default url used by netmaster to listen for http requests
20-
DaemonURL = "localhost:9999"
21-
2219
//DesiredConfigRESTEndpoint is the REST endpoint to post desired configuration
2320
DesiredConfigRESTEndpoint = "desired-config"
2421
//AddConfigRESTEndpoint is the REST endpoint to post configuration additions

0 commit comments

Comments
 (0)