Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions schedule/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (r *ListRequest) RequestParams() map[string]string {

params := make(map[string]string)

if *r.Expand {
if r.Expand != nil && *r.Expand {
params["expand"] = "rotation"

}
Expand Down Expand Up @@ -337,7 +337,7 @@ func validateIdentifier(identifier string) error {
return nil
}

//schedule rotation
// schedule rotation
type CreateRotationRequest struct {
*og.Rotation
ScheduleIdentifierType Identifier
Expand Down