reuse annotate; remove extra new line char

This commit is contained in:
Dan Anglin 2024-06-17 10:03:14 +01:00
parent b899a013df
commit ed2d941259
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
6 changed files with 21 additions and 1 deletions

View file

@ -232,7 +232,7 @@ func (a *AddExecutor) addStarToStatus(gtsClient *client.Client) error {
return fmt.Errorf("unable to add the %s to the status: %w", a.resourceType, err)
}
a.printer.PrintSuccess("Successfully added a " + a.resourceType + " to the status.\n")
a.printer.PrintSuccess("Successfully added a " + a.resourceType + " to the status.")
return nil
}

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
//
// SPDX-License-Identifier: GPL-3.0-or-later
package printer
import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
//
// SPDX-License-Identifier: GPL-3.0-or-later
package printer
import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
//
// SPDX-License-Identifier: GPL-3.0-or-later
package printer
import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
//
// SPDX-License-Identifier: GPL-3.0-or-later
package printer
import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Dan Anglin <d.n.i.anglin@gmail.com>
//
// SPDX-License-Identifier: GPL-3.0-or-later
package printer
import (