Skip to content

Commit

Permalink
fixup! Config: Version Management
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Oct 12, 2024
1 parent e8c7c80 commit 8272728
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/versions/testfixtures/v9997/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ import (
type Version struct {
}

// Disabled implements the DisabledVersion interface
func (v *Version) Disabled() {}

// UpgradeConfig implements the ConfigdVersion interface
func (v *Version) UpgradeConfig(_ context.Context, c []byte) ([]byte, error) {
return c, nil
}

// DowngradeConfig implements the ConfigdVersion interface
func (v *Version) DowngradeConfig(_ context.Context, c []byte) ([]byte, error) {
return c, nil
}

0 comments on commit 8272728

Please sign in to comment.