1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Change default to use const

Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
Philip Laine
2021-01-14 00:21:57 +01:00
parent d236a9af57
commit 3b249dfe69

View File

@@ -16,7 +16,11 @@ limitations under the License.
package sync
import "time"
import (
"time"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta1"
)
type Options struct {
Interval time.Duration
@@ -38,6 +42,6 @@ func MakeDefaultOptions() Options {
Branch: "main",
ManifestFile: "gotk-sync.yaml",
TargetPath: "",
GitImplementation: "go-git",
GitImplementation: sourcev1.GoGitImplementation,
}
}