Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiberiu Gal committed Oct 5, 2023
1 parent 51be372 commit 5bf2890
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion castai/resource_eviction_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ func TestEvictionConfig_UpdateContext(t *testing.T) {
Body: io.NopCloser(bytes.NewReader([]byte(evictionConfigJson))),
}, nil
}).Times(1)
data.Set(FieldEvictorAdvancedConfig, flattenEvictionConfig(finalConfiuration))
err := data.Set(FieldEvictorAdvancedConfig, flattenEvictionConfig(finalConfiuration))
r.NoError(err)
updateResult := resource.UpdateContext(ctx, data, provider)

r.Nil(updateResult)
Expand Down

0 comments on commit 5bf2890

Please sign in to comment.