1
0
mirror of https://github.com/minio/minio.git synced 2025-03-26 07:20:56 -04:00

7 Commits

Author SHA1 Message Date
Krishna Srinivas
14e6c5ec08 Simplify the steps to make changes to config.json ()
This change introduces following simplified steps to follow 
during config migration.

```
 // Steps to move from version N to version N+1
 // 1. Add new struct serverConfigVN+1 in config-versions.go
 // 2. Set configCurrentVersion to "N+1"
 // 3. Set serverConfigCurrent to serverConfigVN+1
 // 4. Add new migration function (ex. func migrateVNToVN+1()) in config-migrate.go
 // 5. Call migrateVNToVN+1() from migrateConfig() in config-migrate.go
 // 6. Make changes in config-current_test.go for any test change
```
2017-11-29 13:12:47 -08:00
Frank Wessels
46897b1100 Name return values to prevent the need (and unnecessary code bloat) ()
This is done to explicitly instantiate objects for every return statement.
2017-06-21 19:53:09 -07:00
Aditya Manthramurthy
a4305742e8 Add key for Kafka messages (fixes ) () 2017-04-19 11:26:35 -07:00
Harshavardhana
f1015a5096 notifiers: Stop using url.Parse in validating address format. ()
url.Parse() wrongly parses an address of format "address:port"
which is fixed in go1.8.  This inculcates a breaking change
on our end. We should fix this wrong usage everywhere so that
migrating to go1.8 eventually becomes smoother.
2017-03-31 04:47:40 -07:00
Anis Elleuch
ae4361cc45 config: Check for duplicated entries in all scopes ()
Validate Minio config by checking if there is double json key
in any scope level. The returned error contains the json path
to the duplicated key.
2017-03-15 16:30:34 -07:00
Harshavardhana
1b4bb94ac4 config: setter/getter for Notifier and Logger into its own struct. ()
This is an attempt cleanup code and keep the top level config
functions simpler and easy to understand where as move the
notifier related code and logger setter/getter methods as part
of their own struct.

Locks are now held properly not globally by configMutex, but
instead as private variables.

Final fix for 
2017-02-09 15:20:54 -08:00
Aditya Manthramurthy
8e6e9301ce Add support for Kafka as a notifications target () () 2016-12-15 08:23:48 -08:00