Chris Hines
cacd8a78b3
Use minimum OS specific path.
...
This change ensures LoadConfig and LoadConfigDir report consistent paths to files and those paths use the appropriate path separator for the target OS. Note that LoadConfigDir constructs paths with filepath.Join, which calls filepath.Clean, which calls filepath.FromSlash.
2015-12-14 14:59:19 -05:00
Diptanu Choudhury
53ca64ed7e
Using Go 1.5.2
2015-12-12 09:08:24 -08:00
Diptanu Choudhury
460228488b
Bumping up the version in website
2015-12-11 17:06:45 -08:00
Diptanu Choudhury
0e754116c4
Updated the changelog to add the 0.2.2 release date
2015-12-11 15:53:17 -08:00
Diptanu Choudhury
c45ae6eb3a
Removing the pre-release marker
2015-12-11 15:48:51 -08:00
Diptanu Choudhury
4b41cfc43e
Fixed log printing logic
2015-12-11 15:45:49 -08:00
Chris Bednarski
7d3e21fcb3
Add lint check for log.Printf usage
2015-12-11 15:20:41 -08:00
Alex Dadgar
80452132db
Changelog
2015-12-11 15:09:09 -08:00
Alex Dadgar
17294d2e9b
Merge pull request #570 from hashicorp/b-logger
...
Remove all calls to the default logger
2015-12-11 15:08:15 -08:00
Alex Dadgar
d536fe9027
Remove all calls to the default logger
2015-12-11 15:02:13 -08:00
Chris Bednarski
45e9337550
Formatting tweaks
2015-12-11 14:41:45 -08:00
Chris Bednarski
74176ed3b1
Added 0.2.1 release date to changelog
2015-12-11 14:40:23 -08:00
Chris Bednarski
598b6c364d
Formatting
2015-12-11 14:38:45 -08:00
Chris Bednarski
c14a87a694
Merge branch 'master' of https://github.com/hashicorp/nomad
2015-12-11 14:38:26 -08:00
Chris Bednarski
6654b4a936
Updated changelog for 0.2.2
2015-12-11 14:38:21 -08:00
Diptanu Choudhury
6df7f35ff6
Merge pull request #568 from hashicorp/f-precise-consul-dereg
...
Don't deregister services and checks which are not managed by Nomad
2015-12-11 14:28:25 -08:00
Diptanu Choudhury
6a1e615991
Refactored test and added some comments
2015-12-11 14:14:04 -08:00
Diptanu Choudhury
57ff1a3009
Adding the changes to structs
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
519dc4c65b
Exctracted nomad- to a constant
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
45bdd1c5e5
Removing extra lines
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
568006247d
Making a struct to hold consul service config
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
df14c98b3f
Added a test for the filtering logic of service and clients
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
f182c13729
Deregister services and checks which are managed by Nomad
2015-12-11 14:06:51 -08:00
Diptanu Choudhury
32c0177bc1
Merge pull request #567 from hashicorp/r-mute-consul-debug-messages
...
mute consul debug messages
2015-12-11 13:58:15 -08:00
Diptanu Choudhury
83c4650c94
Renaming constants
2015-12-11 13:47:35 -08:00
Diptanu Choudhury
c9277e27cf
Renaming constants
2015-12-11 13:18:04 -08:00
Diptanu Choudhury
42b4a34046
Not continuing sync if we couldn't get services and checks from consul
2015-12-11 13:10:20 -08:00
Alex Dadgar
7c6270d7a6
Merge pull request #569 from ChrisHines/ticker-leak
...
Avoid leaking a time.Ticker.
2015-12-11 12:59:53 -08:00
Chris Hines
2bcab7cc0c
Avoid leaking a time.Ticker.
2015-12-11 15:30:53 -05:00
Diptanu Choudhury
e1d2d5877a
Printing most of the consul messages only when the agent is available
2015-12-11 09:22:47 -08:00
Diptanu Choudhury
b3ed3e4942
Changed the log line in consul fingerprinter
2015-12-11 09:10:21 -08:00
Diptanu Choudhury
deea0d6031
Print consul debug messages only when the consul agent is available
2015-12-11 09:06:03 -08:00
Diptanu Choudhury
6af01d2d6f
Muted the consul debug messages
2015-12-11 09:06:03 -08:00
Diptanu Choudhury
4fd5036fef
Merge pull request #561 from hashicorp/b-consul-sync
...
Generate check names, check id and service id on the server side
2015-12-10 16:48:01 -08:00
Diptanu Choudhury
56fa8f8a03
Changing naming and debug message schemes
2015-12-10 16:47:43 -08:00
Diptanu Choudhury
15559701c7
Copied generated id and names
2015-12-10 16:38:29 -08:00
Alex Dadgar
5626cac61f
CHANGELOG update
2015-12-10 16:19:59 -08:00
Alex Dadgar
8be637b93f
Merge pull request #556 from hashicorp/b-cache-docker-client
...
Do.Once docker client initialization
2015-12-10 16:19:06 -08:00
Alex Dadgar
2c69603a23
Merge branch 'master' of https://github.com/hashicorp/nomad
2015-12-10 16:17:23 -08:00
Alex Dadgar
1720c62585
CHANGELOG update
2015-12-10 16:17:16 -08:00
Diptanu Choudhury
ccfde99f82
Generate check names, check id and service id on the server side
2015-12-10 16:07:17 -08:00
Chris Bednarski
14635813b4
Merge pull request #557 from hashicorp/b-config-test-windows
...
Fix a failing test on windows because of / vs. \ in string comparison
2015-12-10 15:29:40 -08:00
Chris Bednarski
73c707c6cf
Merge pull request #558 from hashicorp/b-raw-exec-dev
...
Enable raw exec in dev mode
2015-12-10 15:29:17 -08:00
Chris Bednarski
5bf8a1fff6
Move raw_exec enabled into the DevMode config block
2015-12-10 15:24:21 -08:00
Alex Dadgar
610271142a
Merge pull request #559 from cdrage/fix-typo
...
Fix minor spelling error
2015-12-10 15:14:05 -08:00
Charlie Drage
d5fc7f6022
Fix minor spelling error
2015-12-10 18:09:14 -05:00
Chris Bednarski
1821db757b
Use ReadBoolDefault
2015-12-10 15:03:25 -08:00
Chris Bednarski
462a721edb
Enable raw exec in dev mode
2015-12-10 14:48:06 -08:00
Alex Dadgar
25e47465c1
Do Once docker client initialization
2015-12-10 13:49:29 -08:00
Chris Bednarski
67eb18d9aa
Use filepath.FromSlash so the test uses platform-specific path separators
2015-12-10 12:22:41 -08:00