Skip to content

Commit

Permalink
Read rancher.yml from cloud config
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Mar 18, 2015
1 parent c737fc9 commit b351efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func saveToDisk(data map[interface{}]interface{}) error {
}

func readSavedConfig(bytes []byte) (map[interface{}]interface{}, error) {
return readConfig(bytes, ConfigFile, PrivateConfigFile)
return readConfig(bytes, CloudConfigFile, ConfigFile, PrivateConfigFile)
}

func readConfig(bytes []byte, files ...string) (map[interface{}]interface{}, error) {
Expand Down

0 comments on commit b351efa

Please sign in to comment.