Skip to content

Commit

Permalink
Merge pull request #294 from mapuri/netctl
Browse files Browse the repository at this point in the history
use netmaster service name as default for netctl
  • Loading branch information
shaleman committed Feb 26, 2016
2 parents a20eacf + 1bc4cf1 commit cfa8f49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion netctl/netctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

// DefaultMaster is the master to use when none is provided.
const DefaultMaster = "http://localhost:9999"
const DefaultMaster = "http://netmaster:9999"

func getClient(ctx *cli.Context) *contivClient.ContivClient {
cl, err := contivClient.NewContivClient(ctx.GlobalString("netmaster"))
Expand Down
3 changes: 0 additions & 3 deletions netmaster/master/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ limitations under the License.
package master

const (
// DaemonURL is default url used by netmaster to listen for http requests
DaemonURL = "localhost:9999"

//DesiredConfigRESTEndpoint is the REST endpoint to post desired configuration
DesiredConfigRESTEndpoint = "desired-config"
//AddConfigRESTEndpoint is the REST endpoint to post configuration additions
Expand Down

0 comments on commit cfa8f49

Please sign in to comment.