diff --git a/pkg/client/instances.go b/pkg/client/instances.go index b41ff41..40b2919 100644 --- a/pkg/client/instances.go +++ b/pkg/client/instances.go @@ -418,7 +418,7 @@ func (a *InstancesAPIService) GetInstanceHistory( func (a *InstancesAPIService) CloneAnInstance(ctx context.Context, instanceID int, cloneRequest models.CreateInstanceCloneBody) (models.SuccessOrErrorMessage, error) { var cloneResp models.SuccessOrErrorMessage - if v, _ := parseVersion("5.2.12"); v >= a.Client.getVersion() { + if v, _ := parseVersion("5.2.12"); v <= a.Client.getVersion() { cloneRequest.Tags = cloneRequest.Metadata cloneRequest.Metadata = nil cloneRequest.Instance.Labels = cloneRequest.Instance.Tags