Skip to content

Commit

Permalink
refactor(scalyr): remove code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Mar 15, 2024
1 parent 272845f commit 5653c35
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fastly/block_fastly_service_logging_scalyr.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,6 @@ func (h *ScalyrServiceAttributeHandler) buildCreate(scalyrMap any, serviceID str
// WARNING: The following fields shouldn't have an empty string passed.
// As it will cause the Fastly API to return an error.
// This is because go-fastly v7+ will not 'omitempty' due to pointer type.
// if vla.placement != "" {
// opts.Placement = gofastly.ToPointer(vla.placement)
// }
if vla.placement != "" {
opts.Placement = gofastly.ToPointer(vla.placement)
}
Expand Down

0 comments on commit 5653c35

Please sign in to comment.