Skip to content

Commit

Permalink
Fix toString on Conflines.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdevr committed Jan 23, 2024
1 parent 9674410 commit 6aa4ef3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cisco/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (c *ConfLine) StringPrefix(prefix string) string {
}
var result string
if c.Line != "" {
result += fmt.Sprintf("%s\n", c.Line)
result += fmt.Sprintf("%s%s\n", prefix, c.Line)
}
for _, sl := range c.SubLines {
newPrefix := fmt.Sprintf(" %s", prefix)
Expand Down
4 changes: 2 additions & 2 deletions cmd/cpush/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package main
import "time"

var (
buildTime = time.UnixMicro(1706020246499728)
buildGitRevision = "d8b577aeac0f0d5fb3c6fd515b4904cdc46be245"
buildTime = time.UnixMicro(1706020429622543)
buildGitRevision = "9674410fab66ee04c71e1f9184ba75c6af86c06a"
)
4 changes: 2 additions & 2 deletions cmd/rcheck/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package main
import "time"

var (
buildTime = time.UnixMicro(1706020246657168)
buildGitRevision = "d8b577aeac0f0d5fb3c6fd515b4904cdc46be245"
buildTime = time.UnixMicro(1706020429816688)
buildGitRevision = "9674410fab66ee04c71e1f9184ba75c6af86c06a"
)

0 comments on commit 6aa4ef3

Please sign in to comment.