aboutsummaryrefslogtreecommitdiff
path: root/fs.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-05 02:41:21 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-05 02:41:21 -0500
commita6f45bfa932b9e8e2393b5643e2bc38e44ba76df (patch)
treeb823cbca417ea4753f6dfe87ba986d2023ecb39a /fs.go
parent4a6efc74aebcc689a734d05bc8435eb9560340e1 (diff)
downloadplanr-a6f45bfa932b9e8e2393b5643e2bc38e44ba76df.tar.xz
planr-a6f45bfa932b9e8e2393b5643e2bc38e44ba76df.zip
Add config w/ version information
Diffstat (limited to 'fs.go')
-rw-r--r--fs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs.go b/fs.go
index a42ff2c..04a3522 100644
--- a/fs.go
+++ b/fs.go
@@ -99,7 +99,7 @@ func collectFromDir(
// Process defaults for this directory if a defaults.toml is found
defaultsPath := path.Join(dir, DEFAULTS)
if info, err := os.Stat(defaultsPath); err == nil && !info.IsDir() {
- d, err := DecodeDefaults(defaultsPath, cfgs)
+ d, err := DecodeRubricDefaults(defaultsPath, cfgs)
if err != nil {
log.Fatalf("Error encounter in %s: %v\n", defaultsPath, err);
@@ -135,7 +135,7 @@ func collectFromDir(
}
// Decode a unit
- config, err := DecodeConfig(child, cfgs)
+ config, err := DecodeRubricConfig(child, cfgs)
if err != nil {
log.Fatalf("Error encountered in %s: %v", child, config)