Skip to content

Commit 430be60

Browse files
committed
Reverting use of externally-defined monotonicity values
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 6952dfd commit 430be60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

codersdk/templateversions.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"net/http"
99
"time"
1010

11-
"github.com/coder/terraform-provider-coder/provider"
1211
"github.com/google/uuid"
1312
)
1413

@@ -48,8 +47,8 @@ type TemplateVersionExternalAuth struct {
4847
type ValidationMonotonicOrder string
4948

5049
const (
51-
MonotonicOrderIncreasing ValidationMonotonicOrder = provider.ValidationMonotonicIncreasing
52-
MonotonicOrderDecreasing ValidationMonotonicOrder = provider.ValidationMonotonicDecreasing
50+
MonotonicOrderIncreasing ValidationMonotonicOrder = "increasing"
51+
MonotonicOrderDecreasing ValidationMonotonicOrder = "decreasing"
5352
)
5453

5554
// TemplateVersionParameter represents a parameter for a template version.

0 commit comments

Comments
 (0)