From 41fd1ea1a9d70185477a117d1f6b141491f1dbc9 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Tue, 26 Sep 2023 18:36:35 +0200 Subject: [PATCH] PMM-12460 Fix --- managed/models/dump.go | 15 +++++++++++++++ managed/models/dump_helpers.go | 15 +++++++++++++++ managed/services/management/dump/dump.go | 17 ++++++++++++++++- 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/managed/models/dump.go b/managed/models/dump.go index 10d3892f29..ae81a4c755 100644 --- a/managed/models/dump.go +++ b/managed/models/dump.go @@ -1,3 +1,18 @@ +// Copyright (C) 2023 Percona LLC +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package models import ( diff --git a/managed/models/dump_helpers.go b/managed/models/dump_helpers.go index f35cbf3429..5586349b83 100644 --- a/managed/models/dump_helpers.go +++ b/managed/models/dump_helpers.go @@ -1,3 +1,18 @@ +// Copyright (C) 2023 Percona LLC +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package models import ( diff --git a/managed/services/management/dump/dump.go b/managed/services/management/dump/dump.go index 73314bbd2d..bdd95728c2 100644 --- a/managed/services/management/dump/dump.go +++ b/managed/services/management/dump/dump.go @@ -1,15 +1,30 @@ +// Copyright (C) 2023 Percona LLC +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + package dump import ( "context" - "github.com/percona/pmm/managed/models" "github.com/pkg/errors" "github.com/sirupsen/logrus" "google.golang.org/protobuf/types/known/timestamppb" "gopkg.in/reform.v1" dumpv1beta1 "github.com/percona/pmm/api/managementpb/dump" + "github.com/percona/pmm/managed/models" ) type Service struct {