1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 10:40:30 +00:00

ros config get shows default values

This commit is contained in:
Josh Curl
2016-03-31 21:31:46 -07:00
parent ecae451ad1
commit c0c8179813
12 changed files with 103 additions and 18 deletions

View File

@@ -323,7 +323,7 @@ func resolve_time(val string, v reflect.Value, event yaml_event_t) (string, erro
} else {
matches = timestamp_regexp.FindStringSubmatch(val)
if len(matches) == 0 {
return "", fmt.Errorf("Invalid timestap: '%s' at %s", val, event.start_mark)
return "", fmt.Errorf("Invalid timestamp: '%s' at %s", val, event.start_mark)
}
year, _ := strconv.Atoi(matches[1])