From 66f30b3d17de16f513d09adde784f86857ccb88c Mon Sep 17 00:00:00 2001 From: James Houston Date: Wed, 9 Oct 2024 22:20:07 -0400 Subject: [PATCH] fix missing omitempty on SetHarborServiceOptions --- services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services.go b/services.go index d9c25fe96..a8484ee00 100644 --- a/services.go +++ b/services.go @@ -823,7 +823,7 @@ type SetHarborServiceOptions struct { ProjectName *string `url:"project_name,omitempty" json:"project_name,omitempty"` Username *string `url:"username,omitempty" json:"username,omitempty"` Password *string `url:"password,omitempty" json:"password,omitempty"` - UseInheritedSettings *bool `url:"use_inherited_settings" json:"use_inherited_settings"` + UseInheritedSettings *bool `url:"use_inherited_settings,omitempty" json:"use_inherited_settings,omitempty"` } // SetHarborService sets Harbor service for a project.