Skip to content

Commit

Permalink
convert time to RFC3339 to match what packngo did
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Sep 29, 2023
1 parent e7a48d6 commit ce9af22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions equinix/resource_metal_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,8 @@ func resourceMetalDeviceRead(ctx context.Context, d *schema.ResourceData, meta i
d.Set("state", device.GetState())
d.Set("billing_cycle", device.GetBillingCycle())
d.Set("locked", device.GetLocked())
d.Set("created", device.GetCreatedAt())
d.Set("updated", device.GetUpdatedAt())
d.Set("created", device.GetCreatedAt().Format(time.RFC3339))
d.Set("updated", device.GetUpdatedAt().Format(time.RFC3339))
d.Set("ipxe_script_url", device.GetIpxeScriptUrl())
d.Set("always_pxe", device.GetAlwaysPxe())
d.Set("root_password", device.GetRootPassword())
Expand Down

0 comments on commit ce9af22

Please sign in to comment.