fix(stacks): save registries when creating stack BE-12526 (#1633)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import axios, { parseAxiosError } from '@/portainer/services/axios';
|
||||
import { Pair } from '@/react/portainer/settings/types';
|
||||
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||||
import { RegistryId } from '@/react/portainer/registries/types/registry';
|
||||
|
||||
import { Stack } from '../../types';
|
||||
|
||||
@@ -22,6 +23,7 @@ export interface SwarmFileContentPayload {
|
||||
/** Swarm cluster identifier */
|
||||
swarmID: string;
|
||||
environmentId: EnvironmentId;
|
||||
registries?: Array<RegistryId>;
|
||||
}
|
||||
|
||||
export async function createSwarmStackFromFileContent({
|
||||
|
||||
Reference in New Issue
Block a user