File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
internal/services/mongodb Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ func ResourceInstance() *schema.Resource {
235235 "project_id" : account .ProjectIDSchema (),
236236 },
237237 CustomizeDiff : customdiff .All (
238- func (ctx context.Context , d * schema.ResourceDiff , meta interface {} ) error {
238+ func (ctx context.Context , d * schema.ResourceDiff , meta any ) error {
239239 if d .HasChange ("version" ) {
240240 v := d .Get ("version" ).(string )
241241 parts := strings .Split (v , "." )
@@ -246,6 +246,7 @@ func ResourceInstance() *schema.Resource {
246246 }
247247 }
248248 }
249+
249250 return nil
250251 },
251252 ),
Original file line number Diff line number Diff line change @@ -52,5 +52,6 @@ func NormalizeMongoDBVersion(version string) string {
5252 if len (parts ) >= 2 {
5353 return parts [0 ] + "." + parts [1 ]
5454 }
55+
5556 return version
5657}
You can’t perform that action at this time.
0 commit comments